summaryrefslogtreecommitdiff
path: root/udev/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
commit38f27948cdafd8a4b90a6b4f1f54b89891983506 (patch)
tree1d4f2483572bc71e68bd44b6097aa1940551dcd3 /udev/lib
parenta4354f9385fa6854360729678491da64be996f03 (diff)
always include config.h from Makefile
Diffstat (limited to 'udev/lib')
-rw-r--r--udev/lib/Makefile.am5
-rw-r--r--udev/lib/libudev-ctrl.c2
-rw-r--r--udev/lib/libudev-device.c2
-rw-r--r--udev/lib/libudev-enumerate.c2
-rw-r--r--udev/lib/libudev-monitor.c2
-rw-r--r--udev/lib/libudev-private.h2
-rw-r--r--udev/lib/libudev-util.c2
-rw-r--r--udev/lib/libudev.c2
-rw-r--r--udev/lib/test-libudev.c2
9 files changed, 1 insertions, 20 deletions
diff --git a/udev/lib/Makefile.am b/udev/lib/Makefile.am
index 4cbae2e4ca..7329ab6c65 100644
--- a/udev/lib/Makefile.am
+++ b/udev/lib/Makefile.am
@@ -1,7 +1,4 @@
-AM_CPPFLAGS = \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
+include $(top_srcdir)/Makefile.am.inc
noinst_PROGRAMS = \
test-libudev
diff --git a/udev/lib/libudev-ctrl.c b/udev/lib/libudev-ctrl.c
index f7cec371b1..7d37074fef 100644
--- a/udev/lib/libudev-ctrl.c
+++ b/udev/lib/libudev-ctrl.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index 76ef298a34..cc44c78ad7 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/udev/lib/libudev-enumerate.c b/udev/lib/libudev-enumerate.c
index b8e4807c47..ca5e30e4a1 100644
--- a/udev/lib/libudev-enumerate.c
+++ b/udev/lib/libudev-enumerate.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c
index f61ddb0b53..0dc8e10cbc 100644
--- a/udev/lib/libudev-monitor.c
+++ b/udev/lib/libudev-monitor.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/udev/lib/libudev-private.h b/udev/lib/libudev-private.h
index 1756be5f25..c8063d2d64 100644
--- a/udev/lib/libudev-private.h
+++ b/udev/lib/libudev-private.h
@@ -20,8 +20,6 @@
#ifndef _LIBUDEV_PRIVATE_H_
#define _LIBUDEV_PRIVATE_H_
-#include "config.h"
-
#include <syslog.h>
#include "libudev.h"
#include "list.h"
diff --git a/udev/lib/libudev-util.c b/udev/lib/libudev-util.c
index 6ec835e624..7eadc7f296 100644
--- a/udev/lib/libudev-util.c
+++ b/udev/lib/libudev-util.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c
index 04ad26c6fb..2d34925912 100644
--- a/udev/lib/libudev.c
+++ b/udev/lib/libudev.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c
index 50123f6ec7..39330a74c6 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>