-add missing includes for FreeBSD
[oweals/gnunet.git] / src / gns / w32nsp.c
index 6e58353a355be90e24c7a35e4f22456af0314c34..c2062637fc08b84e539ebe65ae5022dfcac37273 100644 (file)
  */
 
 #define INITGUID
-#include <windows.h>
-#include <nspapi.h>
 #include <stdint.h>
 #include <ws2tcpip.h>
 #include <ws2spi.h>
+#include <windows.h>
+#include <nspapi.h>
 
 #if 1
 #  define DEBUGLOG(s, ...)
@@ -403,7 +403,7 @@ UnmarshallWSAQUERYSETW (LPWSAQUERYSETW req)
 
 int WSAAPI
 GNUNET_W32NSP_LookupServiceNext (HANDLE hLookup, DWORD dwControlFlags,
-    LPDWORD lpdwBufferLength, LPWSAQUERYSET lpqsResults)
+    LPDWORD lpdwBufferLength, LPWSAQUERYSETW lpqsResults)
 {
   DWORD effective_flags;
   int i;