diff --git a/commands/tcpd/tcpd.c b/commands/tcpd/tcpd.c index 01fa3a194..419a77781 100644 --- a/commands/tcpd/tcpd.c +++ b/commands/tcpd/tcpd.c @@ -12,6 +12,7 @@ tcpd.c #include #include #include +#include #include #include #include diff --git a/commands/tcpdp/tcpd.c b/commands/tcpdp/tcpd.c index 2f86d4392..b7ed98276 100644 --- a/commands/tcpdp/tcpd.c +++ b/commands/tcpdp/tcpd.c @@ -12,6 +12,7 @@ tcpd.c #include #include #include +#include #include #include #include diff --git a/include/minix/paths.h b/include/minix/paths.h index 195d80f62..132f84da1 100644 --- a/include/minix/paths.h +++ b/include/minix/paths.h @@ -17,4 +17,6 @@ #define _PATH_DRIVERS "/usr/sbin" +#define _PATH_SERVACCES "/etc/serv.access" + #endif /* _MINIX_PATHS_H_ */ diff --git a/include/netdb.h b/include/netdb.h index c69931287..42ade05be 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -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 diff --git a/lib/libminlib/servxcheck.c b/lib/libminlib/servxcheck.c index 330dbc1ca..3010878ed 100644 --- a/lib/libminlib/servxcheck.c +++ b/lib/libminlib/servxcheck.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include