nixpkgs/pkgs/development/libraries/libbsd/musl.patch
Will Dietz e2f8d7bd44 libbsd: fix build w/musl by adding missing include
Patch from void, with prefix added.
2018-10-13 19:53:19 -05:00

15 lines
220 B
Diff

Source: maxice8
Upstream: no
Reason: fixes compilation
--- a/src/flopen.c
+++ b/src/flopen.c
@@ -34,6 +34,7 @@
#include <errno.h>
#include <stdarg.h>
#include <unistd.h>
+#include <fcntl.h>
#include <libutil.h>