diff src/sysfile.h @ 609:13e3d7ae7155

[xemacs-hg @ 2001-06-06 12:34:42 by ben] nitpicky fixes: emodules.c, tooltalk.c, process-unix.c: Fix warnings pointed out by Martin. lisp.h: Correct usage of CBufbyte. esd.c: indentation changes. bytecode.c, eval.c, fileio.c: Use CBufbyte instead of char for error/warning functions. linuxplay.c, miscplay.c, sgiplay.c, sunplay.c: Define DONT_ENCAPSULATE. (All encapsulation is removed in my pending Mule workspace.) sgiplay.c: Put back #include <audio.h> accidentally removed. Make play_sound_data return an int, like all other such functions in *play.c. sound.c: Fix up documentation of `play-sound'. sysfile.h: Don't include sys/fcntl.h, as per Martin's advice.
author ben
date Wed, 06 Jun 2001 12:34:47 +0000
parents 6cca1c9bdc85
children 943eaba38521
line wrap: on
line diff
--- a/src/sysfile.h	Mon Jun 04 17:00:02 2001 +0000
+++ b/src/sysfile.h	Wed Jun 06 12:34:47 2001 +0000
@@ -67,11 +67,12 @@
 #  undef MAX
 # endif /* HAVE_GTK */
 # include <sys/param.h>
-/* We used to conditionalize this on defined (NeXT) || defined (CYGWIN),
-   with the comment "what is needed from here?  Do others need it too?
-   O_BINARY is in here under cygwin." sunplay.c needed this, so let's
-   just include it always and fix any breakage (unlikely) that happens. */
-# include <sys/fcntl.h>
+/* As per Martin's recommendation, we do not include this.  There was
+   a comment stating that stuff from here was needed on NeXT, Cygwin,
+   and sunplay.c.  However, Cygwin includes this automatically from
+   fcntl.h, and Martin says that a "conforming" system should never
+   need this.  We will put it back if necessary on systems requiring it. */
+/* # include <sys/fcntl.h> */
 #endif
 
 #ifndef	STDERR_FILENO