Fossil SCM
Solaris 10 build patch from Freddy Dissaux.
Commit
4fcbd9b09f96e7ae71ead7c31615e317687e626d
Parent
bfa13027d043d19…
1 file changed
+2
+2
| --- src/makeheaders.c | ||
| +++ src/makeheaders.c | ||
| @@ -41,10 +41,12 @@ | ||
| 41 | 41 | #include <assert.h> |
| 42 | 42 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) |
| 43 | 43 | # ifndef WIN32 |
| 44 | 44 | # define WIN32 |
| 45 | 45 | # endif |
| 46 | +# include <string.h> | |
| 47 | +#elif defined(__sun) && defined(__SVR4) | |
| 46 | 48 | # include <string.h> |
| 47 | 49 | #else |
| 48 | 50 | # include <unistd.h> |
| 49 | 51 | #endif |
| 50 | 52 | |
| 51 | 53 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -41,10 +41,12 @@ | |
| 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 | #else |
| 48 | # include <unistd.h> |
| 49 | #endif |
| 50 | |
| 51 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -41,10 +41,12 @@ | |
| 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 |