]> git.saurik.com Git - wxWidgets.git/commitdiff
Include <fcntl.h> from a header using fcntl().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:29:53 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:29:53 +0000 (00:29 +0000)
No real changes, just make the header self-containing instead of relying on
the file including it to include <fcntl.h> itself.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unix/pipe.h
src/unix/utilsunx.cpp

index 1a33302259080966c6e5269c3c38c1412ce285ee..8e4af9824f31c1ec0f2cd0330e9d0b7c38faf35e 100644 (file)
@@ -13,6 +13,7 @@
 #define _WX_UNIX_PIPE_H_
 
 #include <unistd.h>
 #define _WX_UNIX_PIPE_H_
 
 #include <unistd.h>
+#include <fcntl.h>
 
 #include "wx/log.h"
 #include "wx/intl.h"
 
 #include "wx/log.h"
 #include "wx/intl.h"
index 5722e84260bb022410cf24b00d19b45db887bdf9..381ce7636727ddf85c261368ba44e65ba939f540 100644 (file)
 #include <errno.h>
 #include <netdb.h>
 #include <signal.h>
 #include <errno.h>
 #include <netdb.h>
 #include <signal.h>
-#include <fcntl.h>          // for O_WRONLY and friends
 #include <time.h>           // nanosleep() and/or usleep()
 #include <ctype.h>          // isspace()
 #include <sys/time.h>       // needed for FD_SETSIZE
 #include <time.h>           // nanosleep() and/or usleep()
 #include <ctype.h>          // isspace()
 #include <sys/time.h>       // needed for FD_SETSIZE