Package: bb / 1.3rc1-10

bb.c.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- bb-1.3rc1.orig/bb.c
+++ bb-1.3rc1/bb.c
@@ -24,6 +24,18 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
+
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+#  include <sys/time.h>
+# else
+#  include <time.h>
+# endif
+#endif
+
 #include <aalib.h>
 #include "bb.h"