Reported by Tim Rice <tim@multitalents.net> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-02/msg00025.html>.
* tests/nap.h (nap): Define as gl_nap on OpenServer and UnixWare.
+2020-10-11 Bruno Haible <bruno@clisp.org>
+
+ tests: Avoid a name clash on UnixWare.
+ Reported by Tim Rice <tim@multitalents.net> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-02/msg00025.html>.
+ * tests/nap.h (nap): Define as gl_nap on OpenServer and UnixWare.
+
2020-10-11 Bruno Haible <bruno@clisp.org>
stdioext: Update comments regarding UnixWare.
# include <intprops.h>
+/* Avoid a conflict with a function called nap() on UnixWare. */
+# if defined _SCO_DS || (defined __SCO_VERSION__ || defined __sysv5__) /* OpenServer, UnixWare */
+# include <unistd.h>
+# undef nap
+# define nap gl_nap
+# endif
+
/* Name of the witness file. */
#define TEMPFILE BASE "nap.tmp"