summaryrefslogtreecommitdiff
path: root/mu
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-04-21 22:08:10 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-04-21 22:08:10 +0300
commita0d60d23b0a34c34d1da639173c7fffd40880b60 (patch)
tree0030914e7c9a0aa686c7b02c2c8e08d1768aeabc /mu
parent386153f1a7e73fca2b63c6f593b30717316e04fa (diff)
compat: include sys/wait.h where needed
netbsd needs this explicitly, other systems let us get away without it.
Diffstat (limited to 'mu')
-rw-r--r--mu/mu-cmd-find.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mu/mu-cmd-find.cc b/mu/mu-cmd-find.cc
index f21ff6e..3853856 100644
--- a/mu/mu-cmd-find.cc
+++ b/mu/mu-cmd-find.cc
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 2008-2023 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
+** Copyright (C) 2008-2024 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@@ -27,6 +27,7 @@
#include <errno.h>
#include <stdlib.h>
#include <signal.h>
+#include <sys/wait.h>
#include "message/mu-message.hh"
#include "mu-maildir.hh"