pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files catch up with bootstrap-pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75510a6fae27
branches:  trunk
changeset: 470687:75510a6fae27
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Mar 11 13:17:34 2004 +0000

description:
catch up with bootstrap-pkgsrc changes.

Protect from multiple inclusion, in case system headers try to pull it in
(happens on Interix).

diffstat:

 pkgtools/libnbcompat/files/pwcache.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r b808873aaa82 -r 75510a6fae27 pkgtools/libnbcompat/files/pwcache.h
--- a/pkgtools/libnbcompat/files/pwcache.h      Thu Mar 11 13:17:03 2004 +0000
+++ b/pkgtools/libnbcompat/files/pwcache.h      Thu Mar 11 13:17:34 2004 +0000
@@ -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 @@
 #ifndef HAVE_GID_FROM_GROUP
 int gid_from_group(const char *, gid_t *);
 #endif
+
+#endif /* !_NBCOMPAT_PWCACHE_H */



Home | Main Index | Thread Index | Old Index