diff options
Diffstat (limited to 'src/pciaccess_private.h')
-rw-r--r-- | src/pciaccess_private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pciaccess_private.h b/src/pciaccess_private.h index 2f05b29..10c9698 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 }; @@ -189,5 +195,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 */ |