Skip to content

Commit

Permalink
Fix sysmacros.h include for GNU/Hurd
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Oct 8, 2024
1 parent 85761be commit 3263bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbits/HsUnixCompat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#ifdef SOLARIS
#include <sys/mkdev.h>
#elif defined(__linux__)
#elif defined(__linux__) || defined(__GNU__)
#include <sys/sysmacros.h>
#endif

Expand Down

0 comments on commit 3263bec

Please sign in to comment.