diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/loader.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -10,7 +10,7 @@ MUTE := @ endif CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes -CFLAGS += -std=c99 $(shell sdl2-config --cflags) +CFLAGS += -std=c99 $(shell sdl2-config --cflags) -D_XOPEN_SOURCE=700 LDFLAGS += $(shell sdl2-config --libs) -lfreeimage -lSDL2_ttf -lfontconfig -lpthread BUILDDIR ?= build diff --git a/src/loader.c b/src/loader.c index 91d0d2f..0e7079e 100644 --- a/src/loader.c +++ b/src/loader.c @@ -19,6 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "texture.h" #include <limits.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <signal.h> |