Include string.h under Haiku to avoid a GCC 4 warning about incompatible

implicit declaration of built-in function 'strlen'.
This commit is contained in:
ocoursiere
2012-10-21 02:52:56 +00:00
parent fc1fab4c4a
commit 292c13ca55

View File

@@ -74,6 +74,10 @@
#define getpid() GetCurrentProcessId()
#endif
#ifdef __HAIKU__
#include <string.h>
#endif
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */