Protect config.h like usual.
authorThomas Klausner <wiz@NetBSD.org>
Sun, 2 Jun 2013 20:38:39 +0000 (22:38 +0200)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 8 Jun 2013 03:35:38 +0000 (20:35 -0700)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/common_bridge.c
src/common_device_name.c

index 82a13fd..b4b5d7e 100644 (file)
  * \author Ian Romanick <idr@us.ibm.com>
  */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index ad9ed9d..8c73dbd 100644 (file)
  * with a particular device or vendor.
  */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>