Issue 1: commit 2e503dccd889a3f83951830fda18c9357377693d
The added calls to getopt and friends require unistd.h be included for all
builds. Patch attached.
Issue 2: commit 677dee1a04058aefe8c7689f88da52afe3b4b4bb
With the switch around of all your source directories and addition of
compiler defines for system paths this introduced a conflict with a Windows
header. In common/path.c the shlobj.h header defines DATADIR.
Would you be open to renaming your local DATADIR define?
Regards,
Michael
>From 51369173b238e383a414cedc6f064c1f941db998 Mon Sep 17 00:00:00 2001
From: Michael Cronenworth <m...@cchtml.com>
Date: Fri, 12 Sep 2014 20:48:39 -0500
Subject: [PATCH] common: Move unistd include to define getopt and friends
Needed to fix MinGW builds.
Signed-off-by: Michael Cronenworth <m...@cchtml.com>
---
common/test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#ifdef OS_UNIX
#include <sys/stat.h>
#include <sys/wait.h>
-#include <unistd.h>
#endif
enum {
--
1.9.3
_______________________________________________
p11-glue mailing list
p11-glue@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/p11-glue