summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-03-11 13:17:34 +0000
committergrant <grant@pkgsrc.org>2004-03-11 13:17:34 +0000
commit875ec1ebf897fc44238cb28022fe3f5307dc81ce (patch)
tree9dec4b6a223b08141b4279abbfaaec65a641272c /pkgtools/libnbcompat
parentb3f4a09a711b6f63cc2113dc8cb5399dfe2722b3 (diff)
downloadpkgsrc-875ec1ebf897fc44238cb28022fe3f5307dc81ce.tar.gz
catch up with bootstrap-pkgsrc changes.
Protect from multiple inclusion, in case system headers try to pull it in (happens on Interix).
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r--pkgtools/libnbcompat/files/pwcache.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/pwcache.h b/pkgtools/libnbcompat/files/pwcache.h
index c3d2f6456b4..25444af2f50 100644
--- a/pkgtools/libnbcompat/files/pwcache.h
+++ b/pkgtools/libnbcompat/files/pwcache.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pwcache.h,v 1.3 2003/12/19 22:16:14 grant Exp $ */
+/* $NetBSD: pwcache.h,v 1.4 2004/03/11 13:17:34 grant Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -35,6 +35,9 @@
* @(#)cache.h 8.1 (Berkeley) 5/31/93
*/
+#ifndef _NBCOMPAT_PWCACHE_H
+#define _NBCOMPAT_PWCACHE_H
+
/*
* Constants and data structures used to implement group and password file
* caches. Traditional passwd/group cache routines perform quite poorly with
@@ -86,3 +89,5 @@ int uid_from_user(const char *, uid_t *);
#ifndef HAVE_GID_FROM_GROUP
int gid_from_group(const char *, gid_t *);
#endif
+
+#endif /* !_NBCOMPAT_PWCACHE_H */