Commit f1f68824 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

base: Fix <unistd.h> #include

Previously we were including <sys/unistd.h> which is available on glibc
but not musl.

(cherry picked from commit e44b695c)
parent d402209a
......@@ -12,8 +12,8 @@ module GHC.IO.Handle.Lock.LinuxOFD where
import GHC.Base () -- Make implicit dependency known to build system
#else
#include <sys/unistd.h>
#include <sys/fcntl.h>
#include <unistd.h>
#include <fcntl.h>
import Data.Function
import Data.Functor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment