Fix compile error on FreeBSD (#76).
authorDaniel Carl <danielcarl@gmx.de>
Wed, 9 Apr 2014 21:11:58 +0000 (23:11 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 9 Apr 2014 21:14:37 +0000 (23:14 +0200)
src/history.c
src/session.c
src/util.c

index ae96f19..e274412 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "config.h"
+#include <fcntl.h>
 #include <sys/file.h>
 #include "main.h"
 #include "history.h"
index c9420fa..8033439 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "config.h"
+#include <fcntl.h>
 #include <sys/file.h>
 #include "main.h"
 #include "session.h"
index 253ef8f..ab958b5 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "config.h"
+#include <fcntl.h>
 #include <sys/file.h>
 #include <stdio.h>
 #include <pwd.h>