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:
1 parent
fc1fab4c4a
commit
292c13ca55
1 file changed
+4
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user