diff --git a/murx.c b/murx.c index b328ae6..5c1fd1e 100644 --- a/murx.c +++ b/murx.c @@ -58,10 +58,11 @@ #include #include #include -/* openpty(3) lives in on Linux and glibc, in on the BSDs - and macOS. */ -#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || \ - defined(__OpenBSD__) || defined(__APPLE__) +/* openpty(3) lives in on Linux and glibc, in on FreeBSD + and DragonFly, and in on the other BSDs and macOS. */ +#if defined(__FreeBSD__) || defined(__DragonFly__) +#include +#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #else #include