build with -std=c99
This commit is contained in:
commit
321600b68f
2 changed files with 2 additions and 1 deletions
|
|
@ -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':
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue