Fossil SCM
FreeBSD wants the same isspace() treatment from [ae62c08cbe]
Commit
d3833209db06234c68a7d691b3df2c9c47c5fe542cf88a69980d1335c4f5c08a
Parent
5602385493252ed…
1 file changed
+1
-1
+1
-1
| --- src/mkbuiltin.c | ||
| +++ src/mkbuiltin.c | ||
| @@ -25,11 +25,11 @@ | ||
| 25 | 25 | ** arrays in the resulting executable. |
| 26 | 26 | */ |
| 27 | 27 | #include <stdio.h> |
| 28 | 28 | #include <stdlib.h> |
| 29 | 29 | #include <string.h> |
| 30 | -#ifdef __NetBSD__ | |
| 30 | +#if defined(__NetBSD__) || defined(__FreeBSD__) | |
| 31 | 31 | #include <ctype.h> /* isspace() */ |
| 32 | 32 | #endif |
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | /* |
| 36 | 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 | #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 |