summaryrefslogtreecommitdiff
path: root/camlibs/jl2005a/jl2005a.h
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2016-01-03 18:25:33 +0100
committerMarcus Meissner <marcus@jet.franken.de>2016-01-03 18:25:33 +0100
commit14aab4929c65d6246ab31c0067dba83840b3cd70 (patch)
tree8e824b3cf4ff45fa943494732a75e4dbf9bd3f44 /camlibs/jl2005a/jl2005a.h
parent54016f482495caaf0042ad064665f8bb1d9eab18 (diff)
downloadlibgphoto2-14aab4929c65d6246ab31c0067dba83840b3cd70.tar.gz
remove probably unistd.h include , or protected by ifdef for
building better with Visual C https://github.com/gphoto/libgphoto2/issues/33
Diffstat (limited to 'camlibs/jl2005a/jl2005a.h')
-rw-r--r--camlibs/jl2005a/jl2005a.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/camlibs/jl2005a/jl2005a.h b/camlibs/jl2005a/jl2005a.h
index cbe554e7c..7b90cb7c8 100644
--- a/camlibs/jl2005a/jl2005a.h
+++ b/camlibs/jl2005a/jl2005a.h
@@ -21,7 +21,9 @@
#ifndef __jl2005a_H__
#define __jl2005a_H__
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <gphoto2/gphoto2-port.h>
struct _CameraPrivateLibrary {