patch-src_c_wrapper_unix_c 658 B

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-src_c_wrapper_unix_c,v 1.2 2013/12/08 16:35:18 ian Exp $
  2. Wrap SI_ASYNCIO like is being done for other signals.
  3. --- src/c/wrapper_unix.c.orig Wed Apr 17 01:48:52 2013
  4. +++ src/c/wrapper_unix.c Thu Dec 5 18:09:19 2013
  5. @@ -48,7 +48,6 @@
  6. #include <pthread.h>
  7. #include <pwd.h>
  8. #include <sys/resource.h>
  9. -#include <sys/timeb.h>
  10. #include <sys/types.h>
  11. #include <sys/stat.h>
  12. #include <sys/wait.h>
  13. @@ -408,8 +407,10 @@ const TCHAR* getSignalCodeDesc(int code) {
  14. return TEXT("mesq state changed");
  15. #endif
  16. +#ifdef SI_ASYNCIO
  17. case SI_ASYNCIO:
  18. return TEXT("AIO completed");
  19. +#endif
  20. #ifdef SI_SIGIO
  21. case SI_SIGIO: