Fossil SCM
NetBSD wants a header for isspace()
Commit
ae62c08cbe59770215685a30af960c68512310043a2e8bbdd3b3b92e60024bfb
Parent
758029a81226d46…
1 file changed
+3
+3
| --- src/mkbuiltin.c | ||
| +++ src/mkbuiltin.c | ||
| @@ -25,10 +25,13 @@ | ||
| 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__ | |
| 31 | +#include <ctype.h> /* isspace() */ | |
| 32 | +#endif | |
| 30 | 33 | |
| 31 | 34 | |
| 32 | 35 | /* |
| 33 | 36 | ** Read the entire content of the file named zFilename into memory obtained |
| 34 | 37 | ** from malloc() and return a pointer to that memory. Write the size of the |
| 35 | 38 |
| --- src/mkbuiltin.c | |
| +++ src/mkbuiltin.c | |
| @@ -25,10 +25,13 @@ | |
| 25 | ** arrays in the resulting executable. |
| 26 | */ |
| 27 | #include <stdio.h> |
| 28 | #include <stdlib.h> |
| 29 | #include <string.h> |
| 30 | |
| 31 | |
| 32 | /* |
| 33 | ** Read the entire content of the file named zFilename into memory obtained |
| 34 | ** from malloc() and return a pointer to that memory. Write the size of the |
| 35 |
| --- src/mkbuiltin.c | |
| +++ src/mkbuiltin.c | |
| @@ -25,10 +25,13 @@ | |
| 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 | ** Read the entire content of the file named zFilename into memory obtained |
| 37 | ** from malloc() and return a pointer to that memory. Write the size of the |
| 38 |