Fix missing include in libmv_bundle_adjuster on OSX.

- If compiling without glog (but with gflags) on OSX, unistd.h is
  required for close() et al, when using glog this was pulled in
  indirectly.

Change-Id: I8f0807d98479e386921fb48da30683d027d4bc61
This commit is contained in:
Alex Stewart
2014-11-29 14:33:09 +00:00
committed by Sameer Agarwal
parent 882aea18ae
commit 9631c69354
+2 -1
View File
@@ -99,7 +99,8 @@
# define close _close
typedef unsigned __int32 uint32_t;
#else
# include <stdint.h>
#include <stdint.h>
#include <unistd.h>
// O_BINARY is not defined on unix like platforms, as there is no
// difference between binary and text files.