[Pkg-shadow-commits] r2297 - in upstream/trunk: . lib
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sat Aug 30 18:31:00 UTC 2008
Author: nekral-guest
Date: 2008-08-30 18:30:58 +0000 (Sat, 30 Aug 2008)
New Revision: 2297
Modified:
upstream/trunk/ChangeLog
upstream/trunk/lib/groupio.h
upstream/trunk/lib/prototypes.h
upstream/trunk/lib/pwio.h
upstream/trunk/lib/pwmem.c
upstream/trunk/lib/sgetgrent.c
Log:
* lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
for the definition of uid_t and gid_t.
* lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
here.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/ChangeLog 2008-08-30 18:30:58 UTC (rev 2297)
@@ -7,6 +7,11 @@
utimes() as a replacement for futimes().
* configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd flag to
support systems without nscd.
+ * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
+ Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
+ for the definition of uid_t and gid_t.
+ * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
+ here.
2008-08-26 Nicolas François <nicolas.francois at centraliens.net>
Modified: upstream/trunk/lib/groupio.h
===================================================================
--- upstream/trunk/lib/groupio.h 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/lib/groupio.h 2008-08-30 18:30:58 UTC (rev 2297)
@@ -35,6 +35,7 @@
#ifndef _GROUPIO_H
#define _GROUPIO_H
+#include <sys/types.h>
#include <grp.h>
extern int gr_close (void);
Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/lib/prototypes.h 2008-08-30 18:30:58 UTC (rev 2297)
@@ -48,6 +48,7 @@
#else
#include <utmp.h>
#endif
+#include <sys/types.h>
#include <pwd.h>
#include <grp.h>
#include <shadow.h>
Modified: upstream/trunk/lib/pwio.h
===================================================================
--- upstream/trunk/lib/pwio.h 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/lib/pwio.h 2008-08-30 18:30:58 UTC (rev 2297)
@@ -35,7 +35,9 @@
#ifndef _PWIO_H
#define _PWIO_H
+#include <sys/types.h>
#include <pwd.h>
+
extern int pw_close (void);
extern const struct passwd *pw_locate (const char *name);
extern const struct passwd *pw_locate_uid (uid_t uid);
Modified: upstream/trunk/lib/pwmem.c
===================================================================
--- upstream/trunk/lib/pwmem.c 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/lib/pwmem.c 2008-08-30 18:30:58 UTC (rev 2297)
@@ -35,10 +35,9 @@
#ident "$Id$"
+#include <stdio.h>
#include "prototypes.h"
#include "defines.h"
-#include <pwd.h>
-#include <stdio.h>
#include "pwio.h"
struct passwd *__pw_dup (const struct passwd *pwent)
Modified: upstream/trunk/lib/sgetgrent.c
===================================================================
--- upstream/trunk/lib/sgetgrent.c 2008-08-30 18:30:36 UTC (rev 2296)
+++ upstream/trunk/lib/sgetgrent.c 2008-08-30 18:30:58 UTC (rev 2297)
@@ -35,6 +35,7 @@
#ident "$Id$"
#include <stdio.h>
+#include <sys/types.h>
#include <grp.h>
#include "defines.h"
#include "prototypes.h"
More information about the Pkg-shadow-commits
mailing list