File: bb.c.patch

package info (click to toggle)
bb 1.3rc1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,720 kB
  • sloc: ansic: 36,365; sh: 329; makefile: 23
file content (21 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (2)
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"