]> granicus.if.org Git - curl/commitdiff
nss.c: #include warnless.h for curlx_uztosi and curlx_uztoui prototypes
authorYang Tse <yangsita@gmail.com>
Thu, 28 Jun 2012 14:58:07 +0000 (16:58 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 28 Jun 2012 14:58:07 +0000 (16:58 +0200)
lib/nss.c

index a7957736d8a397d1e5689a2f421f413a802d9ac3..b11796cefb68fd0f7bc3af4d1669179540987dfa 100644 (file)
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -27,6 +27,8 @@
 
 #include "setup.h"
 
+#ifdef USE_NSS
+
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
@@ -44,8 +46,6 @@
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
 
-#ifdef USE_NSS
-
 #include "nssg.h"
 #include <nspr.h>
 #include <nss.h>
@@ -66,6 +66,7 @@
 
 #include "curl_memory.h"
 #include "rawstr.h"
+#include "warnless.h"
 
 /* The last #include file should be: */
 #include "memdebug.h"