Created
October 9, 2013 16:08
-
-
Save hnw/6903746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -c pth-2.0.7-orig/pth.h.in pth-2.0.7/pth.h.in | |
*** pth-2.0.7-orig/pth.h.in 2006-06-09 02:54:02.000000000 +0900 | |
--- pth-2.0.7/pth.h.in 2013-10-10 01:04:56.000000000 +0900 | |
*************** | |
*** 43,49 **** | |
--- 43,53 ---- | |
#include <time.h> /* for struct timespec */ | |
#include <sys/time.h> /* for struct timeval */ | |
#include <sys/socket.h> /* for sockaddr */ | |
+ #ifdef __ANDROID__ | |
+ #include <signal.h> /* for sigset_t */ | |
+ #else | |
#include <sys/signal.h> /* for sigset_t */ | |
+ #endif | |
@EXTRA_INCLUDE_SYS_SELECT_H@ | |
/* fallbacks for essential typedefs */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment