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 8e8c11a..f9ed645 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -7,6 +7,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
+#include <stdarg.h>
 
 
 /*
 
 
 /*
index f97f65b..47ae79e 100644 (file)
@@ -6,9 +6,9 @@
 ** complete copyright information.
 */
 
 ** complete copyright information.
 */
 
+#include <time.h>
 #include <h/mh.h>   /* for snprintf() */
 #include <h/tws.h>
 #include <h/mh.h>   /* for snprintf() */
 #include <h/tws.h>
-#include <time.h>
 
 #if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
 extern long timezone;
 
 #if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
 extern long timezone;
index 60a8d82..42b3572 100644 (file)
@@ -9,6 +9,7 @@
 %n2500
 %a5000
 %{
 %n2500
 %a5000
 %{
+#include <time.h>
 #include <ctype.h>
 #include <h/tws.h>
 
 #include <ctype.h>
 #include <h/tws.h>
 
index cb0cb1c..cab45f5 100644 (file)
@@ -6,6 +6,7 @@
 ** complete copyright information.
 */
 
 ** complete copyright information.
 */
 
+#include <signal.h>
 #include <h/mh.h>
 
 /*
 #include <h/mh.h>
 
 /*