]> andersk Git - moira.git/commitdiff
Include port-sockets.h (on non-_WIN32) before krb5.h to prevent warning
authorzacheiss <zacheiss>
Sat, 13 May 2006 02:37:18 +0000 (02:37 +0000)
committerzacheiss <zacheiss>
Sat, 13 May 2006 02:37:18 +0000 (02:37 +0000)
about KRB5_DEPRECATED and KRB5_PRIVATE being redefined.

incremental/winad/setpw.c

index 4ea37971d22fea71eebe6d574b63af0fc8b7d0a5..c3a6e5f2dd611d985c582ba2ecb9ee83c02b54a0 100644 (file)
@@ -45,6 +45,9 @@ Abstract:
 
 
 #define NEED_SOCKETS
+#ifndef _WIN32
+#include "port-sockets.h"
+#endif
 #include <krb5.h>
 #include <krb.h>
 #include <ldap.h>
@@ -52,7 +55,6 @@ Abstract:
 #include <wshelper.h>
 #include "krb5_err.h"
 #else
-#include "port-sockets.h"
 #include <sys/socket.h>
 #include <netdb.h>
 #include <sys/select.h>
This page took 1.809384 seconds and 5 git commands to generate.