]> git.eshelyaron.com Git - emacs.git/commitdiff
Use fcntl.h in kqueue.c
authorJeremie Courreges-Anglas <jca@wxcvbn.org>
Mon, 15 Jan 2018 08:12:44 +0000 (09:12 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 15 Jan 2018 08:12:44 +0000 (09:12 +0100)
* src/kqueue.c: Use fcntl.h (specified by POSIX) instead of
non-standard sys/file.h to access O_* open(2) flags.

src/kqueue.c

index 69d5269d302efbfef644d7a23c07e14ec76d30a8..7a4f6a471c484655153358b565f9a84e6fc25325 100644 (file)
@@ -24,7 +24,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 #include <sys/types.h>
 #include <sys/event.h>
 #include <sys/time.h>
-#include <sys/file.h>
+#include <fcntl.h>
 #include "lisp.h"
 #include "keyboard.h"
 #include "process.h"