summaryrefslogtreecommitdiff
path: root/articles.h
diff options
context:
space:
mode:
Diffstat (limited to 'articles.h')
-rw-r--r--articles.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/articles.h b/articles.h
index fde6dda..2240904 100644
--- a/articles.h
+++ b/articles.h
@@ -1,6 +1,14 @@
#ifndef __MICROBBS_ARTICLES_H
#define __MICROBBS_ARTICLES_H
+#define _XOPEN_SOURCE 500
+
+#ifndef _BSD_SOURCE
+ #define _BSD_SOURCE
+#endif
+
+#define _POSIX_C_SOURCE 200809L
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -14,6 +22,7 @@
//part of libterm
#include "libterm/term.h"
+#include "libterm/term_io.h"
#include "logs.h"