summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetfs/misc.h b/libnetfs/misc.h
index 396d169c..aa942087 100644
--- a/libnetfs/misc.h
+++ b/libnetfs/misc.h
@@ -18,6 +18,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
+#include <fcntl.h>
/* Bits that are turned off after open */
#define OPENONLY_STATE_MODES (O_CREAT|O_EXCL|O_NOLINK|O_NOTRANS|O_NONBLOCK)