Merge branch 'mrdomino-std-c99'

This commit is contained in:
Meredith L. Patterson 2019-10-08 00:53:46 +02:00
commit 359660791d
2 changed files with 2 additions and 1 deletions

View file

@ -102,7 +102,7 @@ if env['CC'] == 'cl':
]
)
else:
env.MergeFlags('-std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable')
env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable')
# Linker options
if env['PLATFORM'] == 'darwin':

View file

@ -15,6 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <search.h>
#include <stdlib.h>
#include "hammer.h"
#include "internal.h"