aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltán Mizsei <zmizsei@extrowerk.com>2018-07-01 18:42:31 +0200
committerCommitter <c.ommitter@example.net>2024-03-12 04:12:58 -0300
commit987b8567d41954d1c19935d29adcd4139d1cbc7b (patch)
tree3257affd81188c13d493e01d5c2bbc5d3c69e5d9
parent651a352a037b7a7b4d8e0bcb3eefb7cfc07fdda7 (diff)
downloadpciutils-987b8567d41954d1c19935d29adcd4139d1cbc7b.tar.gz
Build fix on Haiku.
-rw-r--r--lib/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sysdep.h b/lib/sysdep.h
index 40e1407..7f22427 100644
--- a/lib/sysdep.h
+++ b/lib/sysdep.h
@@ -83,6 +83,10 @@ typedef u16 word;
#endif
#endif
+#ifdef PCI_OS_HAIKU
+#include <endian.h>
+#endif
+
#ifdef PCI_OS_SYLIXOS
#include <endian.h>
#endif