Fossil SCM
minor reformulation of the makeheaders.c string.h patch.
Commit
51937b72826092ce995e01f40265e6b0bc9d6866
Parent
4fcbd9b09f96e7a…
1 file changed
+2
-3
+2
-3
| --- src/makeheaders.c | ||
| +++ src/makeheaders.c | ||
| @@ -37,17 +37,16 @@ | ||
| 37 | 37 | #include <stdlib.h> |
| 38 | 38 | #include <ctype.h> |
| 39 | 39 | #include <memory.h> |
| 40 | 40 | #include <sys/stat.h> |
| 41 | 41 | #include <assert.h> |
| 42 | +#include <string.h> | |
| 43 | + | |
| 42 | 44 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) |
| 43 | 45 | # ifndef WIN32 |
| 44 | 46 | # define WIN32 |
| 45 | 47 | # endif |
| 46 | -# include <string.h> | |
| 47 | -#elif defined(__sun) && defined(__SVR4) | |
| 48 | -# include <string.h> | |
| 49 | 48 | #else |
| 50 | 49 | # include <unistd.h> |
| 51 | 50 | #endif |
| 52 | 51 | |
| 53 | 52 | /* |
| 54 | 53 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -37,17 +37,16 @@ | |
| 37 | #include <stdlib.h> |
| 38 | #include <ctype.h> |
| 39 | #include <memory.h> |
| 40 | #include <sys/stat.h> |
| 41 | #include <assert.h> |
| 42 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) |
| 43 | # ifndef WIN32 |
| 44 | # define WIN32 |
| 45 | # endif |
| 46 | # include <string.h> |
| 47 | #elif defined(__sun) && defined(__SVR4) |
| 48 | # include <string.h> |
| 49 | #else |
| 50 | # include <unistd.h> |
| 51 | #endif |
| 52 | |
| 53 | /* |
| 54 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -37,17 +37,16 @@ | |
| 37 | #include <stdlib.h> |
| 38 | #include <ctype.h> |
| 39 | #include <memory.h> |
| 40 | #include <sys/stat.h> |
| 41 | #include <assert.h> |
| 42 | #include <string.h> |
| 43 | |
| 44 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) |
| 45 | # ifndef WIN32 |
| 46 | # define WIN32 |
| 47 | # endif |
| 48 | #else |
| 49 | # include <unistd.h> |
| 50 | #endif |
| 51 | |
| 52 | /* |
| 53 |