]> diplodocus.org Git - nmh/blobdiff - h/nmh.h
Replace `(char *)0' et al with `NULL'.
[nmh] / h / nmh.h
diff --git a/h/nmh.h b/h/nmh.h
index ca32f58b738b762d5d704f611e407a825d8b94a7..ed02240a96f41e7c1f746b2e589670b0f878d127 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
 # include <sbr/ctype-checked.h>
 #endif
 #include <assert.h>
+
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+# define bool int
+# define true 1
+# define false 0
+#endif
+
 #include <sys/stat.h>
 #include <sys/wait.h>
 
@@ -74,5 +83,3 @@
 
 #define DEFAULT_PAGER "more"
 #define DEFAULT_EDITOR "vi"
-
-#include <signal.h>