nixpkgs-suyu/pkgs/applications/virtualization/bochs/bochs-2.6.9-glibc-2.26.patch
Orivej Desh 4cc5d222ce bochs: fix build with glibc 2.26
Tracking issue: #31696
2017-11-16 13:00:28 +00:00

14 lines
375 B
Diff

diff --git a/iodev/network/slirp/slirp.h b/iodev/network/slirp/slirp.h
index 7c16aa3..202a1b7 100644
--- a/iodev/network/slirp/slirp.h
+++ b/iodev/network/slirp/slirp.h
@@ -33,8 +33,8 @@ typedef char *caddr_t;
#endif
#include <sys/types.h>
-#if defined(__OpenBSD__)
#include <stdint.h>
+#if defined(__OpenBSD__)
#include <sys/wait.h>
#endif
#ifdef HAVE_SYS_BITYPES_H