summaryrefslogtreecommitdiff
path: root/nice
diff options
context:
space:
mode:
Diffstat (limited to 'nice')
-rw-r--r--nice/meson.build2
-rw-r--r--nice/nice.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/nice/meson.build b/nice/meson.build
index 648ed20..6916781 100644
--- a/nice/meson.build
+++ b/nice/meson.build
@@ -1,4 +1,4 @@
-nice_gen_sources = []
+nice_gen_sources = [nice_version_h]
nice_link_args = []
# libnice.def
diff --git a/nice/nice.h b/nice/nice.h
index bb63129..4faf784 100644
--- a/nice/nice.h
+++ b/nice/nice.h
@@ -39,6 +39,8 @@
#ifndef _NICE_H
#define _NICE_H
+#include "nice-version.h"
+
#define NICE_CHECK_VERSION(major, minor, micro) \
(NICE_VERSION_MAJOR > (major) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \