Finally able to get rid of acconfig.h! Since we're doing slightly better
[mmh] / h / signals.h
index 4ad2b57..905b811 100644 (file)
@@ -3,12 +3,14 @@
  * signals.h -- header file for nmh signal interface
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 /*
  * The type for a signal handler
  */
-typedef RETSIGTYPE (*SIGNAL_HANDLER)(int);
+typedef void (*SIGNAL_HANDLER)(int);
 
 /*
  * If not a POSIX machine, then we create our