[PATCH libpciaccess 2/2] pciaccess_private.h: Use <fcntl.h> instead of <sys/fcntl.h>

Felix Janda felix.janda at posteo.de
Mon Jan 26 14:31:52 PST 2015


The former is the standard location.

Signed-off-by: Felix Janda <felix.janda at posteo.de>
---
 src/pciaccess_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pciaccess_private.h b/src/pciaccess_private.h
index 9f4e8f9..2f05b29 100644
--- a/src/pciaccess_private.h
+++ b/src/pciaccess_private.h
@@ -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.
-- 
2.0.5


More information about the xorg-devel mailing list