summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-10-18 02:23:37 +0000
committerchristos <christos@NetBSD.org>2007-10-18 02:23:37 +0000
commit6c189078917dca7e5b2c21f11720a8ecc3ee956f (patch)
tree33f94105e0fcd12b3533041319fa301ae2e09ebe /include
parent04e2d299552dba44fef1d5a361639b1d0b844d48 (diff)
Introduce _NETBSD_TOOLS for symbols the are needed in tools build
Diffstat (limited to 'include')
-rw-r--r--include/grp.h4
-rw-r--r--include/pwd.h4
-rw-r--r--include/string.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/include/grp.h b/include/grp.h
index c9e94166171..1ca29ea64b1 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -1,4 +1,4 @@
-/* $NetBSD: grp.h,v 1.22 2005/05/24 17:36:29 kleink Exp $ */
+/* $NetBSD: grp.h,v 1.23 2007/10/18 02:23:37 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -69,7 +69,7 @@ struct group *getgrent(void);
void setgrent(void);
void endgrent(void);
#endif
-#if defined(_NETBSD_SOURCE)
+#if defined(_NETBSD_SOURCE) || defined(_NETBSD_TOOLS)
void setgrfile(const char *);
int setgroupent(int);
int getgrent_r(struct group *, char *, size_t, struct group **);
diff --git a/include/pwd.h b/include/pwd.h
index 372c3bf8469..7c28109b3a1 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pwd.h,v 1.39 2005/05/24 17:36:29 kleink Exp $ */
+/* $NetBSD: pwd.h,v 1.40 2007/10/18 02:23:37 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -132,7 +132,7 @@ struct passwd *getpwent(void);
void setpwent(void);
void endpwent(void);
#endif
-#if defined(_NETBSD_SOURCE)
+#if defined(_NETBSD_SOURCE) || defined(_NETBSD_TOOLS)
int pw_gensalt(char *, size_t, const char *, const char *);
int pw_scan(char *, struct passwd *, int *);
int setpassent(int);
diff --git a/include/string.h b/include/string.h
index 34b4ee61d2a..741acab7dff 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.33 2007/08/02 21:49:10 kristerw Exp $ */
+/* $NetBSD: string.h,v 1.34 2007/10/18 02:23:37 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -79,7 +79,7 @@ void *memccpy(void *, const void *, int, size_t);
char *strdup(const char *);
#endif
-#if defined(_NETBSD_SOURCE)
+#if defined(_NETBSD_SOURCE) || defined(_NETBSD_TOOLS)
#include <strings.h> /* for backwards-compatibilty */
void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);