aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/gnunet-gns-helper-service-w32.c2
-rw-r--r--src/gns/w32nsp-install.c2
-rw-r--r--src/gns/w32nsp-resolve.c2
-rw-r--r--src/gns/w32nsp-uninstall.c2
-rw-r--r--src/gns/w32nsp.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/gnunet-gns-helper-service-w32.c b/src/gns/gnunet-gns-helper-service-w32.c
index 02badb50b..8877ef304 100644
--- a/src/gns/gnunet-gns-helper-service-w32.c
+++ b/src/gns/gnunet-gns-helper-service-w32.c
@@ -23,7 +23,6 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 * @author LRN 24 * @author LRN
25 */ 25 */
26#define INITGUID
27#include "platform.h" 26#include "platform.h"
28#include <gnunet_util_lib.h> 27#include <gnunet_util_lib.h>
29#include <gnunet_identity_service.h> 28#include <gnunet_identity_service.h>
@@ -34,6 +33,7 @@
34#include "w32resolver.h" 33#include "w32resolver.h"
35#include <nspapi.h> 34#include <nspapi.h>
36#include <unistr.h> 35#include <unistr.h>
36#include <initguid.h>
37 37
38#define DEFINE_DNS_GUID(a,x) DEFINE_GUID(a, 0x00090035, 0x0000, x, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46) 38#define DEFINE_DNS_GUID(a,x) DEFINE_GUID(a, 0x00090035, 0x0000, x, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
39DEFINE_DNS_GUID(SVCID_DNS_TYPE_A, 0x0001); 39DEFINE_DNS_GUID(SVCID_DNS_TYPE_A, 0x0001);
diff --git a/src/gns/w32nsp-install.c b/src/gns/w32nsp-install.c
index 698f2d6d5..dc3033b96 100644
--- a/src/gns/w32nsp-install.c
+++ b/src/gns/w32nsp-install.c
@@ -23,12 +23,12 @@
23 * @author LRN 23 * @author LRN
24 */ 24 */
25 25
26#define INITGUID
27#include <ws2spi.h> 26#include <ws2spi.h>
28#include <windows.h> 27#include <windows.h>
29#include <nspapi.h> 28#include <nspapi.h>
30#include "gnunet_w32nsp_lib.h" 29#include "gnunet_w32nsp_lib.h"
31#include <stdio.h> 30#include <stdio.h>
31#include <initguid.h>
32 32
33int 33int
34main (int argc, char **argv) 34main (int argc, char **argv)
diff --git a/src/gns/w32nsp-resolve.c b/src/gns/w32nsp-resolve.c
index af30b9758..587730513 100644
--- a/src/gns/w32nsp-resolve.c
+++ b/src/gns/w32nsp-resolve.c
@@ -22,7 +22,6 @@
22 * @brief W32 integration for GNS 22 * @brief W32 integration for GNS
23 * @author LRN 23 * @author LRN
24 */ 24 */
25#define INITGUID
26#include <ws2tcpip.h> 25#include <ws2tcpip.h>
27#include <windows.h> 26#include <windows.h>
28#include <nspapi.h> 27#include <nspapi.h>
@@ -30,6 +29,7 @@
30#include <nspapi.h> 29#include <nspapi.h>
31#include "gnunet_w32nsp_lib.h" 30#include "gnunet_w32nsp_lib.h"
32#include <stdio.h> 31#include <stdio.h>
32#include <initguid.h>
33 33
34typedef int (WSPAPI *LPNSPSTARTUP) (LPGUID lpProviderId, LPNSP_ROUTINE lpnspRoutines); 34typedef int (WSPAPI *LPNSPSTARTUP) (LPGUID lpProviderId, LPNSP_ROUTINE lpnspRoutines);
35 35
diff --git a/src/gns/w32nsp-uninstall.c b/src/gns/w32nsp-uninstall.c
index 6b123cc38..d76663926 100644
--- a/src/gns/w32nsp-uninstall.c
+++ b/src/gns/w32nsp-uninstall.c
@@ -1,9 +1,9 @@
1#define INITGUID
2#include <ws2spi.h> 1#include <ws2spi.h>
3#include <windows.h> 2#include <windows.h>
4#include <nspapi.h> 3#include <nspapi.h>
5#include "gnunet_w32nsp_lib.h" 4#include "gnunet_w32nsp_lib.h"
6#include <stdio.h> 5#include <stdio.h>
6#include <initguid.h>
7 7
8int 8int
9main (int argc, char **argv) 9main (int argc, char **argv)
diff --git a/src/gns/w32nsp.c b/src/gns/w32nsp.c
index 822eb0353..ae9509ec6 100644
--- a/src/gns/w32nsp.c
+++ b/src/gns/w32nsp.c
@@ -71,7 +71,7 @@
71#endif 71#endif
72#endif 72#endif
73#include "w32resolver.h" 73#include "w32resolver.h"
74#define INITGUID 74#include <initguid.h>
75#include "gnunet_w32nsp_lib.h" 75#include "gnunet_w32nsp_lib.h"
76#undef INITGUID 76#undef INITGUID
77 77