summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Reckase <e.reckase@gmail.com>2011-01-09 17:04:08 +0000
committerScott Draves <spot@draves.org>2015-02-15 12:20:14 -0500
commitce2bbf871f3ebaea965bb3567105527dbdf640ea (patch)
tree1b1905d051093a8ae1f3e6826f167d009489a577
parent3274d1b51b721e388e9e038d1945412c450ae224 (diff)
downloadpucket-ce2bbf871f3ebaea965bb3567105527dbdf640ea.tar.gz
pucket-ce2bbf871f3ebaea965bb3567105527dbdf640ea.tar.bz2
pucket-ce2bbf871f3ebaea965bb3567105527dbdf640ea.zip
handled missing unistd.h on windows
git-svn-id: https://flam3.googlecode.com/svn/trunk@155 77852712-ef1d-11de-8684-7d64432d61a3
-rw-r--r--src/flam3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flam3.c b/src/flam3.c
index 9df618c..f15b335 100644
--- a/src/flam3.c
+++ b/src/flam3.c
@@ -28,13 +28,15 @@
#include "parser.h"
#include "filters.h"
#include "palettes.h"
-#include "unistd.h"
#include <limits.h>
#include <locale.h>
#include <math.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <errno.h>
#ifdef HAVE_LIBPTHREAD