summaryrefslogtreecommitdiff
path: root/src/common_device_name.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-02 22:38:39 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-07 20:35:38 -0700
commit719888a9ec5ef5a45698dea8a9642091c433ff29 (patch)
treeeaf36a8140126747e5c884ae9d09279ddfc12728 /src/common_device_name.c
parent434cd73d23cf5dc60d2047047378b59cadb0d5bb (diff)
Protect config.h like usual.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/common_device_name.c')
-rw-r--r--src/common_device_name.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c
index ad9ed9d..8c73dbd 100644
--- a/src/common_device_name.c
+++ b/src/common_device_name.c
@@ -28,7 +28,10 @@
* with a particular device or vendor.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>