summaryrefslogtreecommitdiffstats
path: root/remoting/tools
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/tools')
-rw-r--r--remoting/tools/client_webserver/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/tools/client_webserver/main.c b/remoting/tools/client_webserver/main.c
index 1182ab0..3cc5c2b 100644
--- a/remoting/tools/client_webserver/main.c
+++ b/remoting/tools/client_webserver/main.c
@@ -12,12 +12,18 @@
// This is useful for testing the Chromoting plugin while we wait for
// updated mimetype support to be added to Chrome.
+#include "build/build_config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include <netinet/in.h>
+#if defined (OS_POSIX)
+#include <unistd.h>
+#endif // OS_POSIX
+
#define PORT 8080
void error(const char *msg) {