]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - lspci.h
pciutils: Add the support for a DOS/DJGPP environment
[thirdparty/pciutils.git] / lspci.h
diff --git a/lspci.h b/lspci.h
index 9ef0919228944b7239c77488ae7056cee0e9682a..bcd007e34bd44f4f81f1606a7b2a1cb0da7bf549 100644 (file)
--- a/lspci.h
+++ b/lspci.h
@@ -14,7 +14,7 @@
  *  This increases our memory footprint, but only slightly since we don't
  *  use alloca() much.
  */
-#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__DragonFly__)
+#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__DragonFly__) || defined (__DJGPP__)
 /* alloca() is defined in stdlib.h */
 #elif defined(__GNUC__) && !defined(PCI_OS_WINDOWS)
 #include <alloca.h>