summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui.c b/src/ui.c
index 91eb005..779dbf8 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -23,11 +23,7 @@ THE SOFTWARE.
/* everything that interacts with the user */
-#ifndef __FreeBSD__
-#define _POSIX_C_SOURCE 1 /* fileno() */
-#define _BSD_SOURCE /* strdup() */
-#define _DARWIN_C_SOURCE /* strdup() on OS X */
-#endif
+#include "config.h"
#include <stdio.h>
#include <stdarg.h>