Compile error fix for QNX
author <shinichiro.hamaji@gmail.com> <>
Mon, 14 May 2012 07:46:20 +0000 (07:46 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Mon, 14 May 2012 07:46:20 +0000 (07:46 +0000)
This patch is given in

http://code.google.com/p/google-glog/issues/detail?id=114

git-svn-id: https://google-glog.googlecode.com/svn/trunk@111 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/logging.cc

index 3efcdf2..6d00952 100644 (file)
@@ -78,6 +78,17 @@ using std::ostream;
 using std::ostringstream;
 using std::strstream;
 
+using std::FILE;
+using std::fwrite;
+using std::fclose;
+using std::fflush;
+using std::fprintf;
+using std::perror;
+
+#ifdef __QNX__
+using std::fdopen;
+#endif
+
 // There is no thread annotation support.
 #define EXCLUSIVE_LOCKS_REQUIRED(mu)