]> git.sur5r.net Git - openldap/commitdiff
No longer needs <windows.h>
authorKurt Zeilenga <kurt@openldap.org>
Fri, 12 May 2000 23:43:33 +0000 (23:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 12 May 2000 23:43:33 +0000 (23:43 +0000)
libraries/liblber/nt_err.c

index adb7b973342f172d9062a4602c6729d18c9f81c0..78f5aa0cfb64aab45adc5b5380969efe15684fdf 100644 (file)
@@ -1,8 +1,6 @@
 /* $OpenLDAP$ */
 #include "portable.h"
 
-#include <windows.h>
-
 #ifdef HAVE_WINSOCK2
 #include <winsock2.h>
 #elif HAVE_WINSOCK
@@ -92,6 +90,8 @@ char *ber_pvt_wsa_last_errstring( void )
        return ber_pvt_wsa_err2string( WSAGetLastError() );
 }
 
+#include <windows.h>
+
 char *GetErrorString( int err )
 {
        static char msgBuf[1024];