You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch

27 lines
565 B

https://bugs.gentoo.org/424673
src/lib/util.cc | 1 +
src/watch_maildirs/inotify/state.cc | 1 +
2 files changed, 2 insertions(+)
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include <unistd.h>
#include <sstream>
#include <string>
--- a/src/watch_maildirs/inotify/state.cc
+++ b/src/watch_maildirs/inotify/state.cc
@@ -1,6 +1,7 @@
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
+#include <unistd.h>
#include "lib/util.h"
#include "state.h"