fix compile error on Linux

This commit is contained in:
bentley
2010-01-13 08:26:48 -07:00
parent a913dc01b5
commit 5931973029
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
localversion = $(shell bash scripts/localversion.sh)
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g -std=c99
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g -std=c99 -D_POSIX_C_SOURCE=200112L
all:

View File

@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
#include "asmotor.h"