summaryrefslogtreecommitdiff
path: root/src/solx_devfs.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2015-04-26 15:20:57 +0200
committerJulien Cristau <jcristau@debian.org>2015-05-01 13:57:34 +0200
commitb14696a55796e739624bbda4f772427032efff2a (patch)
treea9723cd94cdf58672634e37ab226bc7966e710f9 /src/solx_devfs.c
parentbbd1acdd1d25b9a68f4b7913a4094af20d7cf78f (diff)
downloadxorg-lib-libpciaccess-b14696a55796e739624bbda4f772427032efff2a.tar.gz
Include config.h before anything else in *.c
Debian bug#749008 <https://bugs.debian.org/749008> Reported-by: Michael Tautschnig <mt@debian.org> Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/solx_devfs.c')
-rw-r--r--src/solx_devfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/solx_devfs.c b/src/solx_devfs.c
index f572393..cf96467 100644
--- a/src/solx_devfs.c
+++ b/src/solx_devfs.c
@@ -25,6 +25,9 @@
/*
* Solaris devfs interfaces
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdlib.h>
#include <strings.h>