build: include <config.h> for kill(2), isblank(3), and isascii(3)

config.h defines _GNU_SOURCE, which in turn defines the bits necessary
for kill, isblank, and isascii.  So wherever we use those, we need
to make sure config.h is included.
This commit is contained in:
Dan Williams
2010-10-08 22:45:35 -05:00
parent 9ee77769af
commit be97e7f104
13 changed files with 14 additions and 1 deletions

View File

@@ -19,10 +19,11 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA. * Boston, MA 02110-1301 USA.
* *
* (C) Copyright 2007 - 2008 Red Hat, Inc. * (C) Copyright 2007 - 2010 Red Hat, Inc.
* (C) Copyright 2007 - 2008 Novell, Inc. * (C) Copyright 2007 - 2008 Novell, Inc.
*/ */
#include <config.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <dbus/dbus-glib.h> #include <dbus/dbus-glib.h>

View File

@@ -17,6 +17,7 @@
* *
*/ */
#include <config.h>
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -18,6 +18,7 @@
* *
*/ */
#include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -18,6 +18,7 @@
* *
*/ */
#include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -17,6 +17,7 @@
* *
*/ */
#include <config.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -18,6 +18,7 @@
* Copyright (C) 2008 - 2010 Red Hat, Inc. * Copyright (C) 2008 - 2010 Red Hat, Inc.
*/ */
#include <config.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <signal.h> #include <signal.h>

View File

@@ -19,6 +19,7 @@
* Copyright (C) 2006 - 2008 Novell, Inc. * Copyright (C) 2006 - 2008 Novell, Inc.
*/ */
#include <config.h>
#include <glib.h> #include <glib.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <dbus/dbus.h> #include <dbus/dbus.h>

View File

@@ -18,6 +18,7 @@
* Copyright (C) 2004 - 2010 Red Hat, Inc. * Copyright (C) 2004 - 2010 Red Hat, Inc.
*/ */
#include <config.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>

View File

@@ -19,6 +19,7 @@
* Copyright (C) 2007 - 2008 Novell, Inc. * Copyright (C) 2007 - 2008 Novell, Inc.
*/ */
#include <config.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>

View File

@@ -19,6 +19,7 @@
* Copyright (C) 2008 - 2010 Red Hat, Inc. * Copyright (C) 2008 - 2010 Red Hat, Inc.
*/ */
#include <config.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <signal.h> #include <signal.h>

View File

@@ -19,6 +19,7 @@
* Copyright (C) 2005 - 2008 Novell, Inc. * Copyright (C) 2005 - 2008 Novell, Inc.
*/ */
#include <config.h>
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>
#include <dbus/dbus.h> #include <dbus/dbus.h>

View File

@@ -18,6 +18,7 @@
* Copyright (C) 2008 - 2010 Red Hat, Inc. * Copyright (C) 2008 - 2010 Red Hat, Inc.
*/ */
#include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -19,6 +19,7 @@
* Copyright (C) 1999-2010 Gentoo Foundation, Inc. * Copyright (C) 1999-2010 Gentoo Foundation, Inc.
*/ */
#include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>