summaryrefslogtreecommitdiff
path: root/tests/test_schema.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_schema.c')
-rw-r--r--tests/test_schema.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_schema.c b/tests/test_schema.c
index 675764925507..cfc6aafdefe1 100644
--- a/tests/test_schema.c
+++ b/tests/test_schema.c
@@ -21,10 +21,15 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "ucl.h"
+#include "ucl_internal.h"
+
#include <stdio.h>
#include <errno.h>
+
+#ifndef _WIN32
#include <unistd.h>
-#include "ucl.h"
+#endif
static int
read_stdin (char **buf)