diff options
Diffstat (limited to 'dbus/dbus-spawn.c')
-rw-r--r-- | dbus/dbus-spawn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index c3be333c..74358185 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -31,8 +31,10 @@ #include <fcntl.h> #include <signal.h> #include <sys/wait.h> -#include <errno.h> #include <stdlib.h> +#ifdef HAVE_ERRNO_H +#include <errno.h> +#endif /** * @addtogroup DBusInternalsUtils |