]> Zhao Yanbai Git Server - minix.git/commitdiff
libcompat: Add net/gen stub headers.
authorGianluca Guida <gianluca@minix3.org>
Wed, 27 Apr 2011 13:23:10 +0000 (13:23 +0000)
committerArun Thomas <arun@minix3.org>
Tue, 24 May 2011 14:54:11 +0000 (16:54 +0200)
This helps reducing patching when compiling legacy minix net utils.

lib/nbsd_libcompat_minix/include/Makefile.inc
lib/nbsd_libcompat_minix/include/net/gen/nameser.h [new file with mode: 0644]
lib/nbsd_libcompat_minix/include/net/gen/netdb.h [new file with mode: 0644]
lib/nbsd_libcompat_minix/include/net/gen/resolv.h [new file with mode: 0644]

index 69c0e1158d1335c1f17901e5dbfc2ec7c2b758e4..d0d0e6f22a0aa0ded6bf9a0cd49ff8bcacb01010 100644 (file)
@@ -5,4 +5,4 @@ INCSDIR= /usr/netbsd/include
 INCS+= configfile.h termcap.h
 INCS+=         compat/a.out.h compat/regexp.h compat/syslog.h \
        compat/pwd.h
-
+INCS+= net/gen/netdb.h net/gen/resolv.h net/gen/nameser.h
diff --git a/lib/nbsd_libcompat_minix/include/net/gen/nameser.h b/lib/nbsd_libcompat_minix/include/net/gen/nameser.h
new file mode 100644 (file)
index 0000000..5c23c9b
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * Minix compatibility.
+ */
+#include <arpa/nameser.h>
+
diff --git a/lib/nbsd_libcompat_minix/include/net/gen/netdb.h b/lib/nbsd_libcompat_minix/include/net/gen/netdb.h
new file mode 100644 (file)
index 0000000..630e5d6
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * Minix compatibility.
+ */
+#include <netdb.h>
+
diff --git a/lib/nbsd_libcompat_minix/include/net/gen/resolv.h b/lib/nbsd_libcompat_minix/include/net/gen/resolv.h
new file mode 100644 (file)
index 0000000..9e347aa
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * Minix compatibility.
+ */
+#include <resolv.h>
+