openbsd-ports/java/tanukiwrapper/patches/patch-src_c_wrapper_unix_c
2013-12-08 16:35:17 +00:00

26 lines
658 B
Plaintext

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