From: Michael Cronenworth
Date: Sat, 13 Sep 2014 01:48:39 +0000 (-0500)
Subject: common: Move unistd include to define getopt and friends
X-Git-Tag: 0.22.0~7
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c41e0e1d9a4a9a4533bc6f370e5eebe1d6b9752c;p=p11-kit
common: Move unistd include to define getopt and friends
Needed to fix MinGW builds.
Signed-off-by: Michael Cronenworth
---
diff --git a/common/test.c b/common/test.c
index c619b7d..289b35b 100644
--- a/common/test.c
+++ b/common/test.c
@@ -49,11 +49,11 @@
#include
#include
#include
+#include
#ifdef OS_UNIX
#include
#include
-#include
#endif
enum {