Fossil SCM

FreeBSD wants the same isspace() treatment from [ae62c08cbe]

bch 2019-01-01 03:03 trunk
Commit d3833209db06234c68a7d691b3df2c9c47c5fe542cf88a69980d1335c4f5c08a
1 file changed +1 -1
+1 -1
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,11 +25,11 @@
2525
** arrays in the resulting executable.
2626
*/
2727
#include <stdio.h>
2828
#include <stdlib.h>
2929
#include <string.h>
30
-#ifdef __NetBSD__
30
+#if defined(__NetBSD__) || defined(__FreeBSD__)
3131
#include <ctype.h> /* isspace() */
3232
#endif
3333
3434
3535
/*
3636
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,11 +25,11 @@
25 ** arrays in the resulting executable.
26 */
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <string.h>
30 #ifdef __NetBSD__
31 #include <ctype.h> /* isspace() */
32 #endif
33
34
35 /*
36
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,11 +25,11 @@
25 ** arrays in the resulting executable.
26 */
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <string.h>
30 #if defined(__NetBSD__) || defined(__FreeBSD__)
31 #include <ctype.h> /* isspace() */
32 #endif
33
34
35 /*
36

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button