From ffa59e37a8c1a1f285997dfa3bb328482c78871b Mon Sep 17 00:00:00 2001 From: Alex Shinn <ashinn@users.noreply.github.com> Date: Fri, 9 Dec 2011 10:20:17 +0900 Subject: [PATCH] Image loading needs fcntl.h (when compiling without threads). --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 1f3460bd..10609db8 100644 --- a/main.c +++ b/main.c @@ -57,6 +57,7 @@ void sexp_usage(int err) { #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> +#include <fcntl.h> #define SEXP_IMAGE_MAGIC "\a\achibi\n\0" #define SEXP_IMAGE_MAJOR_VERSION 1