aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-25 19:08:11 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-25 19:08:11 +0200
commit128524cd2bb7d79d0e29137809058b27f166058b (patch)
tree906333e9de458dff5858c0309d1518498259a702 /tests
parentcd87fee243d924ffc057ed5c5852e1faa392e959 (diff)
downloadtermo-128524cd2bb7d79d0e29137809058b27f166058b.tar.gz
termo-128524cd2bb7d79d0e29137809058b27f166058b.tar.xz
termo-128524cd2bb7d79d0e29137809058b27f166058b.zip
Fix compiler warnings in test 05read
Diffstat (limited to 'tests')
-rw-r--r--tests/05read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/05read.c b/tests/05read.c
index bd7d07c..226acca 100644
--- a/tests/05read.c
+++ b/tests/05read.c
@@ -1,5 +1,8 @@
+#define _XOPEN_SOURCE
+
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "../termo.h"
#include "taplib.h"