summaryrefslogtreecommitdiffstats
path: root/include/mingw/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw/pwd.h')
-rw-r--r--include/mingw/pwd.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/mingw/pwd.h b/include/mingw/pwd.h
new file mode 100644
index 0000000..d048842
--- /dev/null
+++ b/include/mingw/pwd.h
@@ -0,0 +1,20 @@
+
+#pragma once
+
+#include <sys/types.h>
+
+__inline struct passwd* getpwnam (char* g){return 0;}
+
+struct passwd
+{
+ char *pw_name;
+ char *pw_passwd;
+ __uid_t pw_uid;
+ __gid_t pw_gid;
+ char *pw_gecos;
+ char *pw_dir;
+ char *pw_shell;
+};
+
+#define getpwuid(i) NULL
+