diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/body.c | 2 | ||||
-rw-r--r-- | src/draw.c | 7 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#include "config.h" + #include <assert.h> #include <stdbool.h> #include <stdlib.h> @@ -1,3 +1,5 @@ +#include "config.h" + #include <errno.h> #include <math.h> #include <ncurses.h> @@ -12,6 +14,11 @@ #include "include/body.h" +#ifdef MKDIR_TAKES_ONE_ARG /* MinGW32 */ +#undef mkdir +#define mkdir(a, b) mkdir(a) +#endif + #define START_SIZE 4 //TODO consider having speed be affected by window size #define SPEED 50000 //global refresh rate (for usleep()) |