#endif
#endif
+#ifdef __BEOS__
+# undef READ
+# undef WRITE
+# define READ(fd, buf, cnt) recv((fd), (buf), (cnt), 0)
+# define WRITE(fd, buf, cnt) send((fd), (buf), (cnt), 0)
+#endif
+
/* mswindows.h defines these. */
#ifndef READ
# define READ(fd, buf, cnt) read ((fd), (buf), (cnt))
#ifndef HAVE_VSNPRINTF
int vsnprintf ();
#endif
+#ifndef HAVE_USLEEP
+int usleep ();
+#endif
+#ifndef HAVE_MEMMOVE
+void *memmove ();
+#endif
/* SunOS brain damage -- for some reason, SunOS header files fail to
declare the functions below, which causes all kinds of problems