aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-28 16:58:07 +0200
committerYang Tse <yangsita@gmail.com>2012-06-28 16:58:07 +0200
commitac6111aeb09dd258154afdecb289898674435813 (patch)
tree7e27ec8021930daf521c6ded16cf6ae373bc79f3
parentc0f2bfb2c763fdbaa1fd012033fe14b0e3c467b1 (diff)
nss.c: #include warnless.h for curlx_uztosi and curlx_uztoui prototypes
-rw-r--r--lib/nss.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/nss.c b/lib/nss.c
index a7957736d..b11796cef 100644
--- 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"