From: Gerald Pfeifer gerald@pfeifer.com
tools.h uses HAVE_SYS_SYSCTL_H as an include guard which, like others set by configure, is defined in config.h. Make sure we pull that in or never get to sys/sysctl.h. --- tools/wmc/lang.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tools/wmc/lang.c b/tools/wmc/lang.c index 7dd80d840e6..ff6fabc915b 100644 --- a/tools/wmc/lang.c +++ b/tools/wmc/lang.c @@ -17,6 +17,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ + +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h>