summaryrefslogtreecommitdiff
path: root/src/common_vgaarb_stub.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/common_vgaarb_stub.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/common_vgaarb_stub.c')
-rw-r--r--src/common_vgaarb_stub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common_vgaarb_stub.c b/src/common_vgaarb_stub.c
index 9394273..c1708f6 100644
--- a/src/common_vgaarb_stub.c
+++ b/src/common_vgaarb_stub.c
@@ -23,6 +23,9 @@
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdio.h>
#include "pciaccess.h"