Image loading needs fcntl.h (when compiling without threads).

This commit is contained in:
Alex Shinn 2011-12-09 10:20:17 +09:00
parent 0d5ac322fd
commit ffa59e37a8

1
main.c
View file

@ -57,6 +57,7 @@ void sexp_usage(int err) {
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h>
#define SEXP_IMAGE_MAGIC "\a\achibi\n\0" #define SEXP_IMAGE_MAGIC "\a\achibi\n\0"
#define SEXP_IMAGE_MAJOR_VERSION 1 #define SEXP_IMAGE_MAJOR_VERSION 1