]> Zhao Yanbai Git Server - minix.git/commitdiff
include/netdb.h: merged
authorLionel Sambuc <lionel@minix3.org>
Mon, 2 Dec 2013 17:17:49 +0000 (18:17 +0100)
committerLionel Sambuc <lionel@minix3.org>
Mon, 3 Mar 2014 19:47:01 +0000 (20:47 +0100)
Change-Id: I899e6ac611b671a78d6abd83a73eed484aa49595

commands/tcpd/tcpd.c
commands/tcpdp/tcpd.c
include/minix/paths.h
include/netdb.h
lib/libminlib/servxcheck.c

index 01fa3a194b072f392753b8deab413e6ec023a1fd..419a77781108bbac41352db62592bcaeb99eba5d 100644 (file)
@@ -12,6 +12,7 @@ tcpd.c
 #include <unistd.h>
 #include <signal.h>
 #include <minix/config.h>
+#include <minix/paths.h>
 #include <sys/ioctl.h>
 #include <sys/wait.h>
 #include <net/hton.h>
index 2f86d43921ab58d3ee7b06a40a21763611cb153a..b7ed98276721a4c39d0a9bb8adb7591e06d08a3d 100644 (file)
@@ -12,6 +12,7 @@ tcpd.c
 #include <unistd.h>
 #include <signal.h>
 #include <minix/config.h>
+#include <minix/paths.h>
 #include <sys/ioctl.h>
 #include <sys/wait.h>
 #include <net/hton.h>
index 195d80f62aec4218c981aeecd84890842f455995..132f84da11c3b7118537a8f1a8dd66784bd5bd2b 100644 (file)
@@ -17,4 +17,6 @@
 
 #define _PATH_DRIVERS  "/usr/sbin"
 
+#define        _PATH_SERVACCES "/etc/serv.access"
+
 #endif /* _MINIX_PATHS_H_ */
index c699312874f6e3dd6f3a7624d435d679fb631f26..42ade05be798c002df125eec48d2be0ee2e7c30d 100644 (file)
@@ -131,9 +131,6 @@ typedef _BSD_SIZE_T_        size_t;
 #ifndef _PATH_SERVICES_DB
 #define        _PATH_SERVICES_DB "/var/db/services.db"
 #endif
-#ifdef __minix
-#define        _PATH_SERVACCES "/etc/serv.access"
-#endif
 #endif
 
 __BEGIN_DECLS
index 330dbc1cadae6684138c161a24f473bc0d2fb586..3010878edcb60399f52e3ed4fee0359db70627bd 100644 (file)
@@ -16,6 +16,7 @@
 #include <unistd.h>
 #include <time.h>
 #include <sys/ioctl.h>
+#include <minix/paths.h>
 #include <net/hton.h>
 #include <net/gen/in.h>
 #include <net/gen/tcp.h>