More MinGW build issues

Michael Cronenworth mike at
Fri Sep 12 19:02:33 PDT 2014

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-common-Move-unistd-include-to-define-getopt-and-frie.patch
Type: text/x-patch
Size: 715 bytes
Desc: not available
URL: <>

More information about the p11-glue mailing list