Bug 684 - frontend/common/src/System.cc should include <sys/wait.h>
Status:
RESOLVED FIXED
Component:
Core :: UNIX
Version:
1.8.5
Hardware:
PC Other
Importance:
P4 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Oct 2 2007 00:20:16 UTC
by:
Brian de Alwis
Modified:
Oct 15 2007 20:42:39 UTC
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Rob Caelers | Oct 15 2007 20:42:19 UTC | status | NEW | ASSIGNED |
| Rob Caelers | Oct 15 2007 20:42:39 UTC | status | ASSIGNED | RESOLVED |
| resolution | FIXED |
Description
Brian de Alwis Oct 2 2007 00:20:16 UTC
frontend/common/src/System.cc makes reference to WEXITSTATUS, but doesn't explicitly include <sys/wait.h>. This include must be implicitly included by something else on Linux, but compilation fails on NetBSD. --- frontend/common/src/System.cc.orig 2007-09-14 12:50:32.000000000 -0600 +++ frontend/common/src/System.cc @@ -39,6 +39,10 @@ #include <X11/Xutil.h> #endif +#if defined(HAVE_UNIX) +#include <sys/wait.h> +#endif + #ifdef WIN32 #include <shlobj.h> #include "harpoon.h"
Comment 1
Rob Caelers Oct 15 2007 20:42:19 UTC
Thanks. applied