chiark / gitweb /
mtrack-test.c: include <unistd.h>
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Apr 2016 19:31:28 +0000 (20:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Apr 2016 19:42:32 +0000 (20:42 +0100)
Otherwise we get an implicit declaration warning about close().

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tools/mtrack-test.c

index 2f455a4..88ed60b 100644 (file)
@@ -23,6 +23,7 @@
 #include "mtouch.h"
 #include <fcntl.h>
 #include <stdarg.h>
+#include <unistd.h>
 
 void xf86Msg(int type, const char *format, ...)
 {