--- Source/kwsys/SystemInformation.cxx.orig	Sun Oct 16 18:22:55 2016
+++ Source/kwsys/SystemInformation.cxx	Sun Oct 16 18:26:11 2016
@@ -79,7 +79,7 @@
 # undef _WIN32
 #endif
 
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__OpenBSD__) || defined(__minix) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
 # include <sys/param.h>
 # include <sys/sysctl.h>
 # include <sys/socket.h>
@@ -3814,7 +3814,11 @@
     // install ours
     struct sigaction sa;
     sa.sa_sigaction=(SigAction)StacktraceSignalHandler;
+#if defined(__minix)
+    sa.sa_flags=SA_RESETHAND;
+#else
     sa.sa_flags=SA_SIGINFO|SA_RESETHAND;
+#endif /* defined(__minix) */
 # ifdef SA_RESTART
     sa.sa_flags|=SA_RESTART;
 # endif
