We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58fa1d7 + d56ba1f commit 377c477Copy full SHA for 377c477
doomgeneric/Makefile
@@ -15,7 +15,7 @@ endif
15
CC=gcc # gcc or g++
16
CFLAGS+=-ggdb3 -Os
17
LDFLAGS+=-Wl,--gc-sections
18
-CFLAGS+=-ggdb3 -Wall -DNORMALUNIX -DLINUX -DSNDSERV # -DUSEASM
+CFLAGS+=-ggdb3 -Wall -DNORMALUNIX -DLINUX -DSNDSERV -D_DEFAULT_SOURCE # -DUSEASM
19
LIBS+=-lm -lc -lX11
20
21
# subdirectory for objects
doomgeneric/doomgeneric.h
@@ -1,6 +1,7 @@
1
#ifndef DOOM_GENERIC
2
#define DOOM_GENERIC
3
4
+#include <stdlib.h>
5
#include <stdint.h>
6
7
#define DOOMGENERIC_RESX 640
doomgeneric/doomgeneric_xlib.c
@@ -2,6 +2,7 @@
#include "doomgeneric.h"
+#include <ctype.h>
#include <stdio.h>
#include <string.h>
8
#include <unistd.h>
0 commit comments