]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - lib/i386-io-linux.h
pciutils: Add the support for a DOS/DJGPP environment
[thirdparty/pciutils.git] / lib / i386-io-linux.h
index 672897fab23ddcdded2d850c1c06494c64e2b361..b39b4eb8267d0585ab7bcdede85e7a9137812932 100644 (file)
@@ -6,11 +6,7 @@
  *     Can be freely distributed and used under the terms of the GNU GPL.
  */
 
-#ifdef __GLIBC__
 #include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
 
 static int
 intel_setup_io(struct pci_access *a UNUSED)
@@ -24,3 +20,11 @@ intel_cleanup_io(struct pci_access *a UNUSED)
   iopl(3);
   return -1;
 }
+
+static inline void intel_io_lock(void)
+{
+}
+
+static inline void intel_io_unlock(void)
+{
+}