OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceda00d
)
Use <byteswap.h> when using glibc, not just on linux
author
Julien Cristau
<jcristau@debian.org>
Tue, 19 Feb 2008 13:26:54 +0000
(14:26 +0100)
committer
Julien Cristau
<jcristau@debian.org>
Tue, 19 Feb 2008 13:47:27 +0000
(14:47 +0100)
This fixes the build on GNU/kFreeBSD.
src/common_interface.c
patch
|
blob
|
history
diff --git
a/src/common_interface.c
b/src/common_interface.c
index
98f0e91
..
7fae277
100644
(file)
--- a/
src/common_interface.c
+++ b/
src/common_interface.c
@@
-36,7
+36,7
@@
#include "pciaccess.h"
#include "pciaccess_private.h"
-#if
def __linux__
+#if
defined(__linux__) || defined(__GLIBC__)
#include <byteswap.h>
#if __BYTE_ORDER == __BIG_ENDIAN