Fossil SCM
Unconditionally include ctype.h in the mkbuiltin.c utility program.
Commit
9c604490b3dfa08ce00c13664c40f7629c417bd441289d71ff95e623441631e7
Parent
9eae2e5c1bbe4e9…
1 file changed
+1
-4
+1
-4
| --- src/mkbuiltin.c | ||
| +++ src/mkbuiltin.c | ||
| @@ -25,14 +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 | -#if defined(__NetBSD__) || defined(__FreeBSD__) | |
| 31 | -#include <ctype.h> /* isspace() */ | |
| 32 | -#endif | |
| 33 | - | |
| 30 | +#include <ctype.h> | |
| 34 | 31 | |
| 35 | 32 | /* |
| 36 | 33 | ** Read the entire content of the file named zFilename into memory obtained |
| 37 | 34 | ** from malloc() and return a pointer to that memory. Write the size of the |
| 38 | 35 | ** file into *pnByte. |
| 39 | 36 |
| --- src/mkbuiltin.c | |
| +++ src/mkbuiltin.c | |
| @@ -25,14 +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 | ** 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 | ** file into *pnByte. |
| 39 |
| --- src/mkbuiltin.c | |
| +++ src/mkbuiltin.c | |
| @@ -25,14 +25,11 @@ | |
| 25 | ** arrays in the resulting executable. |
| 26 | */ |
| 27 | #include <stdio.h> |
| 28 | #include <stdlib.h> |
| 29 | #include <string.h> |
| 30 | #include <ctype.h> |
| 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 | ** file into *pnByte. |
| 36 |