]> mj.ucw.cz Git - pciutils.git/commitdiff
Merge pull request #176 from OscarL/haiku-build-fix
authorMartin Mareš <mj@ucw.cz>
Tue, 12 Mar 2024 11:22:35 +0000 (12:22 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2024 11:22:35 +0000 (12:22 +0100)
Build fix on Haiku.

lib/sysdep.h

index 40e1407810b4196cc4a32eb32ebd922acdcf4b06..7f22427ba6d3f778d6ec29cafd13565043425be2 100644 (file)
@@ -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