Commit 03efc84b authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/gpg-error: fix compilation for embedded 64bit Darwin platforms

(cherry picked from commit e14eb8f3f6799fe02f9bed2b67e5b0702e4e799a)
parent ad0b48fe
diff -ru libgpg-error/tests/t-lock.c libgpg-error-fixed/tests/t-lock.c
--- libgpg-error/tests/t-lock.c 2014-01-24 21:50:09.000000000 +0100
+++ libgpg-error-fixed/tests/t-lock.c 2014-08-17 22:10:24.000000000 +0200
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <assert.h>
#ifdef _WIN32
# include <windows.h>
...@@ -12,6 +12,7 @@ libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error ...@@ -12,6 +12,7 @@ libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error
ifdef HAVE_WIN32 ifdef HAVE_WIN32
$(APPLY) $(SRC)/gpg-error/windres-make.patch $(APPLY) $(SRC)/gpg-error/windres-make.patch
endif endif
$(APPLY) $(SRC)/gpg-error/missing-unistd-include.patch
$(MOVE) $(MOVE)
cp $@/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h $@/src/syscfg/lock-obj-pub.linux-android.h cp $@/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h $@/src/syscfg/lock-obj-pub.linux-android.h
ifdef HAVE_IOS ifdef HAVE_IOS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment