diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
commit | bc83770144cc547a917fc27f0f572859ae203fce (patch) | |
tree | dd569a25e9832cdc91838af49f4ad76b4f9b83d1 /src/include/winproc.h | |
parent | 22d94c49ad387d3b7e373a955495ae39362b801a (diff) | |
download | gnunet-bc83770144cc547a917fc27f0f572859ae203fce.tar.gz gnunet-bc83770144cc547a917fc27f0f572859ae203fce.zip |
LRN patch from Mantis #1615
Diffstat (limited to 'src/include/winproc.h')
-rw-r--r-- | src/include/winproc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/winproc.h b/src/include/winproc.h index 0298c2d59..595180a96 100644 --- a/src/include/winproc.h +++ b/src/include/winproc.h | |||
@@ -34,8 +34,9 @@ | |||
34 | #include <sys/timeb.h> | 34 | #include <sys/timeb.h> |
35 | #include <time.h> | 35 | #include <time.h> |
36 | #include <dirent.h> | 36 | #include <dirent.h> |
37 | #include <winsock2.h> | ||
38 | #include <ws2tcpip.h> | ||
37 | #include <windows.h> | 39 | #include <windows.h> |
38 | #include <winsock.h> | ||
39 | #include <winerror.h> | 40 | #include <winerror.h> |
40 | #include <iphlpapi.h> | 41 | #include <iphlpapi.h> |
41 | #include <shlobj.h> | 42 | #include <shlobj.h> |
@@ -198,7 +199,7 @@ extern "C" | |||
198 | 199 | ||
199 | BOOL CreateShortcut (const char *pszSrc, const char *pszDest); | 200 | BOOL CreateShortcut (const char *pszSrc, const char *pszDest); |
200 | BOOL DereferenceShortcut (char *pszShortcut); | 201 | BOOL DereferenceShortcut (char *pszShortcut); |
201 | long QueryRegistry (HKEY hMainKey, char *pszKey, char *pszSubKey, | 202 | long QueryRegistry (HKEY hMainKey, const char *pszKey, const char *pszSubKey, |
202 | char *pszBuffer, long *pdLength); | 203 | char *pszBuffer, long *pdLength); |
203 | int ListNICs (void (*callback) (void *, const char *, int), void *cls); | 204 | int ListNICs (void (*callback) (void *, const char *, int), void *cls); |
204 | BOOL AddPathAccessRights (char *lpszFileName, char *lpszAccountName, | 205 | BOOL AddPathAccessRights (char *lpszFileName, char *lpszAccountName, |