summaryrefslogtreecommitdiff
path: root/src/openbsd_pci.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/openbsd_pci.c
parentbbd1acdd1d25b9a68f4b7913a4094af20d7cf78f (diff)
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/openbsd_pci.c')
-rw-r--r--src/openbsd_pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c
index 4d1b5cd..b8ce318 100644
--- a/src/openbsd_pci.c
+++ b/src/openbsd_pci.c
@@ -13,6 +13,9 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <sys/param.h>
#include <sys/ioctl.h>