packages/utils/bemused/patches/110-missing_includes.patch
hauke 75604d039f bemused: fix build by including more include files
Signed-off-by: Russell Senior <russell@personaltelco.net>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 11:53:20 +00:00

23 lines
468 B
Diff

--- 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>