OSDN Git Service

Add missing guards around config.h inclusion
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 10 Feb 2015 14:55:20 +0000 (14:55 +0000)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Thu, 12 Feb 2015 22:10:10 +0000 (14:10 -0800)
commit6329ef9e5d6f36ca3f7258279f6640037b71926a
tree7b13d8f3d059e0625711be7b8b103d7684553861
parente42ee2a075a8b7c62b190815be42ea26c9d8c03f
Add missing guards around config.h inclusion

In some cases the header may not exist, leading to compilation issues.
Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the
project.

[Emil Velikov: Split out from a larger commit, rework commit message]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/common_vgaarb.c
src/freebsd_pci.c
src/linux_sysfs.c