From 30d5cdef94507b4193a5b08bcceadda9aeb7ed21 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev <no@email> Date: Thu, 1 Mar 2012 11:41:10 +0000 Subject: [PATCH] Fixed HAVE_UNISTD_H redefinition warning --- 3rdparty/libtiff/tif_config.h.cmakein | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rdparty/libtiff/tif_config.h.cmakein b/3rdparty/libtiff/tif_config.h.cmakein index f1929711ac..abb583e168 100644 --- a/3rdparty/libtiff/tif_config.h.cmakein +++ b/3rdparty/libtiff/tif_config.h.cmakein @@ -48,7 +48,9 @@ #cmakedefine HAVE_SYS_TYPES_H /* Define to 1 if you have the <unistd.h> header file. */ +#ifndef HAVE_UNISTD_H #cmakedefine HAVE_UNISTD_H +#endif /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */