[PATCH] use <sys/bitstring.h> instead of <bitstring.h>

Aurelien Jarno aurelien at aurel32.net
Tue May 12 01:06:54 PDT 2009


<bitstring.h> includes <sys/bitstring.h>. Directly use <sys/bitstring.h>
has the former one is not available on all systems.

---
 hald/freebsd/hf-pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hald/freebsd/hf-pci.c b/hald/freebsd/hf-pci.c
index 273118e..05eb03f 100644
--- a/hald/freebsd/hf-pci.c
+++ b/hald/freebsd/hf-pci.c
@@ -27,7 +27,7 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <bitstring.h>
+#include <sys/bitstring.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
-- 
1.6.1.3


-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien at aurel32.net                 http://www.aurel32.net


More information about the hal mailing list