Commit e42ee2a0 authored by Emil Velikov's avatar Emil Velikov Committed by Alan Coopersmith
Browse files

Include the POSIX fcntl.h instead of sys/fcntl.h



The former is part of the POSIX standard, and (unlike the latter) is
more widely available.

v2: Drop gracious d in header name. Spotted by Alan.

Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent f99c2e41
......@@ -42,7 +42,7 @@
* know of any OS we support where this isn't available in a sufficiently
* new version, so warn unconditionally.
*/
#include <sys/fcntl.h>
#include <fcntl.h>
#ifndef O_CLOEXEC
#warning O_CLOEXEC not available, please upgrade.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment