#define DISABLE_DIRECT_ACCESS
#endif /* WINDOWSNT */
+/* Cancel substitutions made by config.h for Emacs. */
+#undef open
+#undef read
+#undef write
+#undef close
+
#ifdef USG
#include <fcntl.h>
#include <unistd.h>
#include <unistd.h>
#endif
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
+
#if defined (XENIX) || defined (WINDOWSNT)
#include <sys/locking.h>
#endif
#endif
#endif
-/* Cancel substitutions made by config.h for Emacs. */
-#undef open
-#undef read
-#undef write
-#undef close
-
#ifndef errno
extern int errno;
#endif