Parent Directory
|
Revision Log
Added patch for eselect-compiler.
| 1 | Index: compiler-config-2.0.0_beta5/src/libcommon/strndup.h |
| 2 | =================================================================== |
| 3 | --- compiler-config-2.0.0_beta5.orig/src/libcommon/strndup.h |
| 4 | +++ compiler-config-2.0.0_beta5/src/libcommon/strndup.h |
| 5 | @@ -24,5 +24,10 @@ |
| 6 | #define _GNU_SOURCE |
| 7 | #include <string.h> |
| 8 | #else |
| 9 | + |
| 10 | +#ifdef HAVE_SYS_TYPES_H |
| 11 | +#include <sys/types.h> |
| 12 | +#endif |
| 13 | + |
| 14 | char *strndup(const char *s, size_t n); |
| 15 | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |