From a0d60d23b0a34c34d1da639173c7fffd40880b60 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 21 Apr 2024 22:08:10 +0300 Subject: [PATCH] compat: include sys/wait.h where needed netbsd needs this explicitly, other systems let us get away without it. --- lib/utils/mu-utils-file.cc | 3 ++- mu/mu-cmd-find.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/utils/mu-utils-file.cc b/lib/utils/mu-utils-file.cc index a8be5220..3daea34a 100644 --- a/lib/utils/mu-utils-file.cc +++ b/lib/utils/mu-utils-file.cc @@ -1,5 +1,5 @@ /* -** Copyright (C) 2023 Dirk-Jan C. Binnema +** Copyright (C) 2023-2024 Dirk-Jan C. Binnema ** ** 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 @@ -23,6 +23,7 @@ #include "mu-utils-file.hh" #include +#include #include #include diff --git a/mu/mu-cmd-find.cc b/mu/mu-cmd-find.cc index f21ff6e5..3853856d 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 +** Copyright (C) 2008-2024 Dirk-Jan C. Binnema ** ** 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 #include #include +#include #include "message/mu-message.hh" #include "mu-maildir.hh"