reinclude some headers
authorPhilipp Takacs <philipp@bureaucracy.de>
Tue, 14 Apr 2015 12:33:36 +0000 (14:33 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Tue, 14 Apr 2015 12:33:36 +0000 (14:33 +0200)
These includes are necessary to compile on FreeBSD.

h/mh.h
sbr/dtime.c
sbr/dtimep.lex
sbr/pidstatus.c

diff --git a/h/mh.h b/h/mh.h
index 8e8c11ac1412c47981aa94444aa29983fa69198e..f9ed6455971175e4c88af5208c225afff5f70b10 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -7,6 +7,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
+#include <stdarg.h>
 
 
 /*
index f97f65bea5dd8f54b07ac31fcc404bd39f1aa8bf..47ae79e05368628c701876ddbdc4c095ff2a1f31 100644 (file)
@@ -6,9 +6,9 @@
 ** complete copyright information.
 */
 
+#include <time.h>
 #include <h/mh.h>   /* for snprintf() */
 #include <h/tws.h>
-#include <time.h>
 
 #if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
 extern long timezone;
index 60a8d82c581f3e31d4d2e5721b0ecaa8051f062d..42b35723e5bf6cd88377aca3f2406f32d4472813 100644 (file)
@@ -9,6 +9,7 @@
 %n2500
 %a5000
 %{
+#include <time.h>
 #include <ctype.h>
 #include <h/tws.h>
 
index cb0cb1c45a876364dbba24c02d3d00de058bcf63..cab45f5440c762eb94e13c61cccafe307e986d1b 100644 (file)
@@ -6,6 +6,7 @@
 ** complete copyright information.
 */
 
+#include <signal.h>
 #include <h/mh.h>
 
 /*