contrib/gpg-error: fix compilation for embedded 64bit Darwin platforms
[vlc.git] / contrib / src / gpg-error / missing-unistd-include.patch
1 diff -ru libgpg-error/tests/t-lock.c libgpg-error-fixed/tests/t-lock.c
2 --- libgpg-error/tests/t-lock.c 2014-01-24 21:50:09.000000000 +0100
3 +++ libgpg-error-fixed/tests/t-lock.c   2014-08-17 22:10:24.000000000 +0200
4 @@ -24,6 +24,7 @@
5  #include <stdio.h>
6  #include <stdlib.h>
7  #include <string.h>
8 +#include <unistd.h>
9  #include <assert.h>
10  #ifdef _WIN32
11  # include <windows.h>