diff --git a/args.h b/args.h index db1dedf..adef1cb 100644 --- a/args.h +++ b/args.h @@ -17,7 +17,7 @@ #ifdef __OpenBSD__ #include "sys/types.h" #else -#include "types.h" +#include "stdint.h" #endif extern char *argv0; diff --git a/colors.h b/colors.h index 65d6b06..63f0721 100644 --- a/colors.h +++ b/colors.h @@ -7,7 +7,7 @@ #ifdef __OpenBSD__ #include "sys/types.h" #else -#include "types.h" +#include "stdint.h" #endif #define RED 0xdd1111 diff --git a/draw.c b/draw.c index 20eebed..33994a6 100644 --- a/draw.c +++ b/draw.c @@ -11,7 +11,7 @@ #ifdef __OpenBSD__ #include "sys/types.h" #else -#include "types.h" +#include "stdint.h" #endif // arguments diff --git a/draw.h b/draw.h index 974265e..f8355fa 100644 --- a/draw.h +++ b/draw.h @@ -4,7 +4,7 @@ #ifdef __OpenBSD__ #include "sys/types.h" #else -#include "types.h" +#include "stdint.h" #endif typedef struct buffer diff --git a/main.c b/main.c index e494e36..c4d5914 100644 --- a/main.c +++ b/main.c @@ -9,10 +9,10 @@ #ifdef __OpenBSD__ #include "sys/types.h" #else -#include "types.h" +#include "stdint.h" #endif -#define VERSION "0.2.0" +#define VERSION "0.2.0" // argument parsing (args.h) char *argv0; diff --git a/makefile b/makefile index 2e023e7..729c368 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ NAME = fire WARNING = -Wall -Wextra -pedantic -Wmissing-prototypes \ - -Wold-style-definition -Werror + -Wold-style-definition INC = -Isub/termbox_next/src diff --git a/output.h b/output.h index d2c0d03..0212a87 100644 --- a/output.h +++ b/output.h @@ -2,6 +2,6 @@ #define OUTP_H #include -#define PRINT(...) fprintf(stderr, __VA_ARGS__); +#define EPRINT(...) fprintf(stderr, __VA_ARGS__); #endif