summaryrefslogtreecommitdiff
path: root/src/pciaccess_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pciaccess_private.h')
-rw-r--r--src/pciaccess_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pciaccess_private.h b/src/pciaccess_private.h
index a45b093..d3b68d4 100644
--- a/src/pciaccess_private.h
+++ b/src/pciaccess_private.h
@@ -29,6 +29,9 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
+#ifndef PCIACCESS_PRIVATE_H
+#define PCIACCESS_PRIVATE_H
+
#if defined(__GNUC__) && (__GNUC__ >= 4)
# define _pci_hidden __attribute__((visibility("hidden")))
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
@@ -150,6 +153,9 @@ struct pci_device_private {
#ifdef __sun
int is_primary;
#endif
+#ifdef __GNU__
+ unsigned long device_port;
+#endif
};
@@ -190,5 +196,8 @@ extern int pci_system_netbsd_create( void );
extern int pci_system_openbsd_create( void );
extern void pci_system_openbsd_init_dev_mem( int );
extern int pci_system_solx_devfs_create( void );
+extern int pci_system_hurd_create( void );
extern int pci_system_x86_create( void );
extern void pci_io_cleanup( void );
+
+#endif /* PCIACCESS_PRIVATE_H */