diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 1 | ||||
-rw-r--r-- | include/nsswitch.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h index 2132044..2c2e4b3 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -82,6 +82,7 @@ typedef __uint32_t uint32_t; #define _PATH_NETWORKS "/etc/networks" #define _PATH_PROTOCOLS "/etc/protocols" #define _PATH_SERVICES "/etc/services" +#define _PATH_SERVICES_DB "/var/db/services.db" #define h_errno (*__h_errno()) diff --git a/include/nsswitch.h b/include/nsswitch.h index 0ff6cf1..1a97cea 100644 --- a/include/nsswitch.h +++ b/include/nsswitch.h @@ -58,6 +58,7 @@ * currently implemented sources */ #define NSSRC_FILES "files" /* local files */ +#define NSSRC_DB "db" /* database */ #define NSSRC_DNS "dns" /* DNS; IN for hosts, HS for others */ #define NSSRC_NIS "nis" /* YP/NIS */ #define NSSRC_COMPAT "compat" /* passwd,group in YP compat mode */ |