@@ -9,6 +9,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <version.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <cxl/libcxl.h>
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
+#include <version.h>
#include <util/json.h>
#include <json-c/json.h>
#include <cxl/libcxl.h>
@@ -9,6 +9,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <version.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <daxctl/libdaxctl.h>
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
+#include <version.h>
#include <util/json.h>
#include <json-c/json.h>
#include <daxctl/libdaxctl.h>
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
+#include <version.h>
#include <util/json.h>
#include <json-c/json.h>
@@ -13,6 +13,7 @@
#include <ndctl/ndctl.h>
#include <ndctl/libndctl.h>
#include <sys/epoll.h>
+#include <version.h>
#define BUF_SIZE 2048
/* reuse the core log helpers for the monitor logger */
@@ -8,6 +8,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <version.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <ndctl/builtin.h>
In preparation for switching to meson explicitly include version.h rather than depend on -DGIT_VERSION. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- cxl/cxl.c | 1 + cxl/list.c | 1 + daxctl/daxctl.c | 1 + daxctl/list.c | 1 + ndctl/list.c | 1 + ndctl/monitor.c | 1 + ndctl/ndctl.c | 1 + 7 files changed, 7 insertions(+)