summaryrefslogtreecommitdiffstats
path: root/pcilib
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-08-06 16:46:05 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-08-06 16:46:05 +0200
commit81de1a078b5c54c81b869564d33ed3e025bb695e (patch)
tree0f99da22152b69b00a281a85424f9a310205329f /pcilib
parent61d520876b16acdd97f32467e2af5bd531a516af (diff)
downloadpcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.gz
pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.bz2
pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.tar.xz
pcitool-81de1a078b5c54c81b869564d33ed3e025bb695e.zip
Fix compilation of the driver
Diffstat (limited to 'pcilib')
-rw-r--r--pcilib/kmem.h2
-rw-r--r--pcilib/locking.c1
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"