aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ntlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/ntlib.h')
-rw-r--r--lib-src/ntlib.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h
index 2a7ccbb79b7..e6bce58074e 100644
--- a/lib-src/ntlib.h
+++ b/lib-src/ntlib.h
@@ -20,8 +20,6 @@
20 20
21*/ 21*/
22 22
23#define WIN32
24
25#include <pwd.h> 23#include <pwd.h>
26#include <malloc.h> 24#include <malloc.h>
27 25
@@ -34,7 +32,7 @@
34#ifdef sleep 32#ifdef sleep
35#undef sleep 33#undef sleep
36#endif 34#endif
37void sleep(int seconds); 35void sleep(unsigned long seconds);
38char *getwd (char *dir); 36char *getwd (char *dir);
39int getppid(void); 37int getppid(void);
40char * getlogin (); 38char * getlogin ();
@@ -113,5 +111,6 @@ int fchown (int fd, int uid, int gid);
113 111
114/* Make standard winsock definitions available if needed. */ 112/* Make standard winsock definitions available if needed. */
115#undef _WINSOCKAPI_ 113#undef _WINSOCKAPI_
114#undef _WINSOCK_H
116 115
117/* end of ntlib.h */ 116/* end of ntlib.h */