]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove unistd.h from unit test
authorArne Schwabe <arne@rfc2549.org>
Mon, 2 Aug 2021 10:07:40 +0000 (12:07 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 2 Aug 2021 10:36:17 +0000 (12:36 +0200)
the unit tests do not compile under Windows since Windows does not
provide a unistd.h header. The header is still included on Unix
platforms via syshead.h

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210802100740.694474-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22685.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/test_argv.c
tests/unit_tests/openvpn/test_auth_token.c
tests/unit_tests/openvpn/test_crypto.c
tests/unit_tests/openvpn/test_misc.c
tests/unit_tests/openvpn/test_ncp.c
tests/unit_tests/openvpn/test_tls_crypt.c

index 3dc470a52d1e03986184a6ea6f3beae426632267..e686adcb51ce569e6a3c23b4e5c3d6b23b49e87a 100644 (file)
@@ -2,7 +2,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
index 6bfad6efb6afcd6e899e4e7132499bf6a358d9d3..5299c36439ca149760d9fbf136fb5314315ef253 100644 (file)
@@ -30,7 +30,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
index f4cc81a04a64e4775b05aa352b003ff898168c6c..32063fc469a89fc62dd613d70bd932a7fd4bf975 100644 (file)
@@ -30,7 +30,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
index b7623bea0c26324ddd81d2998c16043d4f379905..70f726d0fa00141d96944e96f6c442ac5bd2d21e 100644 (file)
@@ -30,7 +30,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
index 293093f1a9e720ac288ab83ca6538447ec352c6c..613b5f1bace57ea3ebf25b2d3778d3c0f9b32da3 100644 (file)
@@ -30,7 +30,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
index 3e604d67250ec57595b2440e271d38e2b00095e5..12ea9452d60fee6dfd917635a4dde3cfe5044a51 100644 (file)
@@ -30,7 +30,6 @@
 #include "syshead.h"
 
 #include <stdio.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>