diff src/syspwd.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 41ff10fd062f
children 697ef44129c6
line wrap: on
line diff
--- a/src/syspwd.h	Mon Aug 13 11:18:12 2007 +0200
+++ b/src/syspwd.h	Mon Aug 13 11:19:21 2007 +0200
@@ -19,5 +19,21 @@
 
 /* Synched up with: Not really in FSF. */
 
-#include <pwd.h>
+#ifndef WIN32_NATIVE
+
+# include <pwd.h>
+
+#else /* WIN32_NATIVE */
 
+struct passwd {
+    char *pw_name;
+    char *pw_passwd;
+    int   pw_uid;
+    int   pw_gid;
+    int   pw_quota;
+    char *pw_gecos;
+    char *pw_dir;
+    char *pw_shell;
+};
+
+#endif /* WIN32_NATIVE */