aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/ibex.h
diff options
context:
space:
mode:
Diffstat (limited to 'libibex/ibex.h')
-rw-r--r--libibex/ibex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libibex/ibex.h b/libibex/ibex.h
index b74db1ed93..bb818e6d34 100644
--- a/libibex/ibex.h
+++ b/libibex/ibex.h
@@ -22,6 +22,8 @@
#define IBEX_H
#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include <glib.h>
struct ibex;
@@ -34,7 +36,7 @@ typedef struct ibex ibex;
/* Open the named ibex index file. If CREATE is true, create the file
* if it doesn't already exist.
*/
-ibex *ibex_open (char *file, gboolean create);
+ibex *ibex_open (char *file, int flags, int mode);
/* Write the ibex to disk. */
int ibex_write (ibex *ib);