diff options
author | Damien Miller <djm@mindrot.org> | 2022-02-17 22:54:19 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-02-17 22:54:19 +1100 |
commit | f7fc6a43f1173e8b2c38770bf6cee485a562d03b (patch) | |
tree | 7e7700e35ebe03c2041d14c8dd95d6dc72087ef1 | |
parent | 667fec5d4fe4406745750a32f69b5d2e1a75e94b (diff) |
minix needs BROKEN_POLL too; chokes on /dev/null
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 062682be..a22eb444 100644 --- a/configure.ac +++ b/configure.ac @@ -969,6 +969,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) ;; *-*-minix) AC_DEFINE([SETEUID_BREAKS_SETUID]) + # poll(2) seems to choke on /dev/null; "Bad file descriptor" + AC_DEFINE([BROKEN_POLL], [1], + [System poll(2) implementation is broken]) ;; mips-sony-bsd|mips-sony-newsos4) AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to acquire controlling tty]) |