packages/utils/bemused/patches/110-missing_includes.patch

23 lines
468 B
Diff
Raw Normal View History

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