Skip to content

Instantly share code, notes, and snippets.

@hnw
Created October 9, 2013 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnw/6903746 to your computer and use it in GitHub Desktop.
Save hnw/6903746 to your computer and use it in GitHub Desktop.
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