summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/Makefile2
-rw-r--r--hurd/version.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index 078c80ab..ea964446 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -21,7 +21,7 @@ makemode := misc
hdrs = $(wildcard $(srcdir)/*.defs $(srcdir)/*.h)
DIST_FILES = subsystems $(notdir $(hdrs)) ioctl-tmpl.sym ioctl.awk gensym.awk
-INSTHDRS = hurd_types.h ioctl_types.h paths.h shared.h \
+INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h \
$(notdir $(wildcard $(srcdir)/*.defs))
include ../Makeconf
diff --git a/hurd/version.h b/hurd/version.h
new file mode 100644
index 00000000..9b85b5a5
--- /dev/null
+++ b/hurd/version.h
@@ -0,0 +1,6 @@
+/* This file just gives a value that can be tested easily with #if as a
+ gross check of the Hurd interface version. It has the format YYYYMMDD
+ and will only ever be increased. This will be bumped whenever either
+ the RPC interfaces or the library APIs change. */
+
+#define HURD_INTERFACE_VERSION 20020609