aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mareš <mj@ucw.cz>2024-03-12 12:22:35 +0100
committerGitHub <noreply@github.com>2024-03-12 12:22:35 +0100
commitb6548a5bf7f695b9e3e434c0393e673905e7f1f9 (patch)
tree3257affd81188c13d493e01d5c2bbc5d3c69e5d9
parent651a352a037b7a7b4d8e0bcb3eefb7cfc07fdda7 (diff)
parent987b8567d41954d1c19935d29adcd4139d1cbc7b (diff)
downloadpciutils-b6548a5bf7f695b9e3e434c0393e673905e7f1f9.tar.gz
Merge pull request #176 from OscarL/haiku-build-fix
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