compat: include sys/wait.h where needed

netbsd needs this explicitly, other systems let us get away without it.
This commit is contained in:
Dirk-Jan C. Binnema 2024-04-21 22:08:10 +03:00
parent 386153f1a7
commit a0d60d23b0
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2023 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2023-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
@ -23,6 +23,7 @@
#include "mu-utils-file.hh"
#include <sys/stat.h>
#include <sys/wait.h>
#include <glib.h>
#include <gio/gio.h>

View File

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