From 7c63ea175de405708fc075fd1234ad832f2cf436 Mon Sep 17 00:00:00 2001 From: Ambroz Bizjak Date: Sun, 30 Dec 2018 13:51:24 +0100 Subject: [PATCH] Assume that NSS headers are under nss/. --- client/PasswordListener.c | 2 +- client/PasswordListener.h | 4 ++-- client/PeerChat.c | 4 ++-- client/PeerChat.h | 4 ++-- client/StreamPeerIO.c | 4 ++-- client/StreamPeerIO.h | 4 ++-- cmake/modules/FindNSS.cmake | 2 +- misc/nsskey.h | 6 +++--- nspr_support/BSSLConnection.c | 2 +- nspr_support/BSSLConnection.h | 2 +- server/server.c | 10 +++++----- server_connection/ServerConnection.h | 10 +++++----- 12 files changed, 27 insertions(+), 27 deletions(-) diff --git a/client/PasswordListener.c b/client/PasswordListener.c index 5ec573b69..e712f5e45 100644 --- a/client/PasswordListener.c +++ b/client/PasswordListener.c @@ -31,7 +31,7 @@ #include -#include +#include #include #include diff --git a/client/PasswordListener.h b/client/PasswordListener.h index bbc0bd115..70f3ba7cb 100644 --- a/client/PasswordListener.h +++ b/client/PasswordListener.h @@ -39,8 +39,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/client/PeerChat.c b/client/PeerChat.c index d9dd9662f..a4bd5565e 100644 --- a/client/PeerChat.c +++ b/client/PeerChat.c @@ -29,8 +29,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/client/PeerChat.h b/client/PeerChat.h index 674e37451..0b2387e7e 100644 --- a/client/PeerChat.h +++ b/client/PeerChat.h @@ -30,8 +30,8 @@ #ifndef BADVPN_PEERCHAT_H #define BADVPN_PEERCHAT_H -#include -#include +#include +#include #include #include diff --git a/client/StreamPeerIO.c b/client/StreamPeerIO.c index 3113c3b0a..0b70588ec 100644 --- a/client/StreamPeerIO.c +++ b/client/StreamPeerIO.c @@ -29,8 +29,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/client/StreamPeerIO.h b/client/StreamPeerIO.h index 0b6b2601a..b622f662c 100644 --- a/client/StreamPeerIO.h +++ b/client/StreamPeerIO.h @@ -36,8 +36,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/cmake/modules/FindNSS.cmake b/cmake/modules/FindNSS.cmake index 17fd45ab9..85279104e 100644 --- a/cmake/modules/FindNSS.cmake +++ b/cmake/modules/FindNSS.cmake @@ -20,7 +20,7 @@ endif () set(NSS_FOUND FALSE) if (WIN32) - find_path(NSS_FIND_INCLUDE_DIR nss.h) + find_path(NSS_FIND_INCLUDE_DIR nss/nss.h) FIND_LIBRARY_WITH_DEBUG(NSS_FIND_LIBRARIES_SSL WIN32_DEBUG_POSTFIX d NAMES ssl3) FIND_LIBRARY_WITH_DEBUG(NSS_FIND_LIBRARIES_SMIME WIN32_DEBUG_POSTFIX d NAMES smime3) diff --git a/misc/nsskey.h b/misc/nsskey.h index 8268235fa..6bdb5fc02 100644 --- a/misc/nsskey.h +++ b/misc/nsskey.h @@ -37,9 +37,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include diff --git a/nspr_support/BSSLConnection.c b/nspr_support/BSSLConnection.c index fea9c948b..8fafc9752 100644 --- a/nspr_support/BSSLConnection.c +++ b/nspr_support/BSSLConnection.c @@ -28,7 +28,7 @@ */ #include -#include +#include #include #include diff --git a/nspr_support/BSSLConnection.h b/nspr_support/BSSLConnection.h index 1152cace9..deb14719a 100644 --- a/nspr_support/BSSLConnection.h +++ b/nspr_support/BSSLConnection.h @@ -31,7 +31,7 @@ #define BADVPN_BSSLCONNECTION_H #include -#include +#include #include #include diff --git a/server/server.c b/server/server.c index 2b22101bb..a79b0abf9 100644 --- a/server/server.c +++ b/server/server.c @@ -38,11 +38,11 @@ #include #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include // BadVPN #include diff --git a/server_connection/ServerConnection.h b/server_connection/ServerConnection.h index 1245c8464..50a16ec0e 100644 --- a/server_connection/ServerConnection.h +++ b/server_connection/ServerConnection.h @@ -40,11 +40,11 @@ #include #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include