summaryrefslogtreecommitdiffstats
path: root/utils/bemused/patches/110-missing_includes.patch
blob: 7f14a422e745f0b0fab0241cee18786f5f546505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/main.cpp
+++ b/main.cpp
@@ -16,6 +16,9 @@
  ***************************************************************************/
 
 #include <stdlib.h>
+#include <stdio.h>
+#include <getopt.h>
+#include <unistd.h>
 #include <iostream>
 
 #include "BemusedServerDlg.h"
--- a/BemusedServerDlg.cpp
+++ b/BemusedServerDlg.cpp
@@ -28,6 +28,7 @@
 #include <cerrno>
 #include <csignal>
 
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <dirent.h>