diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-08-06 16:46:05 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-08-06 16:46:05 +0200 |
commit | 81de1a078b5c54c81b869564d33ed3e025bb695e (patch) | |
tree | 0f99da22152b69b00a281a85424f9a310205329f | |
parent | 61d520876b16acdd97f32467e2af5bd531a516af (diff) | |
download | pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.gz pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.bz2 pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.xz pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.zip |
Fix compilation of the driver
-rw-r--r-- | pcilib/kmem.h | 2 | ||||
-rw-r--r-- | pcilib/locking.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pcilib/kmem.h b/pcilib/kmem.h index 9cd1971..3dff625 100644 --- a/pcilib/kmem.h +++ b/pcilib/kmem.h @@ -1,8 +1,6 @@ #ifndef _PCILIB_KMEM_H #define _PCILIB_KMEM_H -#include <stdint.h> - typedef struct pcilib_s pcilib_t; typedef struct pcilib_kmem_list_s pcilib_kmem_list_t; diff --git a/pcilib/locking.c b/pcilib/locking.c index 7a32605..f384ca4 100644 --- a/pcilib/locking.c +++ b/pcilib/locking.c @@ -4,6 +4,7 @@ #include <string.h> #include <strings.h> #include <assert.h> +#include <stdint.h> #include <sys/file.h> #include "locking.h" |