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>
#include <stdlib.h>
#include <limits.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include "pciaccess.h"
#include "pciaccess_private.h"
#include <sys/mman.h>
#include <sys/memrange.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include "pciaccess.h"
#include "pciaccess_private.h"
#define iopl(x) -1
#endif
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#ifdef HAVE_MTRR
#include <asm/mtrr.h>