mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix the build on FreeBSD.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35122 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f224e6286b
commit
6414d0ebeb
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
|||
*
|
||||
* Minimum of 600 for string.h so we get the POSIX strerror_r() behavior
|
||||
*/
|
||||
/* This hack work around for glibc breaks FreeBSD and probably other platforms.
|
||||
*/
|
||||
#ifndef __FreeBSD__
|
||||
#if defined(_XOPEN_SOURCE)
|
||||
#if _XOPEN_SOURCE < 600
|
||||
#undef _XOPEN_SOURCE
|
||||
|
@ -23,6 +26,7 @@
|
|||
#else
|
||||
#define _XOPEN_SOURCE 600
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#import "config.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue