aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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"