Skip to content

Commit d4a5d70

Browse files
sthibaulandreasabel
authored andcommitted
Fix sysmacros.h include for GNU/Hurd
1 parent 458a17e commit d4a5d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbits/HsUnixCompat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#ifdef SOLARIS
44
#include <sys/mkdev.h>
5-
#elif defined(__linux__)
5+
#elif defined(__linux__) || defined(__GNU__)
66
#include <sys/sysmacros.h>
77
#endif
88

0 commit comments

Comments
 (0)