]> git.sesse.net Git - cubemap/commitdiff
Fix a missing #include.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Apr 2013 23:14:32 +0000 (01:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Apr 2013 23:14:42 +0000 (01:14 +0200)
main.cpp
server.cpp

index afc3edfc802170b111777f34901ce957d6efa4df..2771f3904048fc86fde47097ed0d50b463f89576 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <assert.h>
 #include <getopt.h>
 #include <arpa/inet.h>
index d3fbaaff297867b5fe5e4323e04ffd8c4ce3ebb2..88819129d45a4d1a85fdd86f156bc4617b61f716 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <assert.h>
 #include <arpa/inet.h>
 #include <sys/socket.h>