[llvm-commits] [polly] r145790 - /polly/trunk/lib/Cloog.cpp

Tobias Grosser grosser at fim.uni-passau.de
Sun Dec 4 02:44:14 PST 2011

Author: grosser
Date: Sun Dec  4 04:44:14 2011
New Revision: 145790

URL: http://llvm.org/viewvc/llvm-project?rev=145790&view=rev
Cloog: Include header file for pipe/open/close

We forgot to include the unistd.h header file that defines the
functions mentioned above. This was not a problem with gnu C++ library,
however it did not work for libc++.


Modified: polly/trunk/lib/Cloog.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Cloog.cpp?rev=145790&r1=145789&r2=145790&view=diff
--- polly/trunk/lib/Cloog.cpp (original)
+++ polly/trunk/lib/Cloog.cpp Sun Dec  4 04:44:14 2011
@@ -34,6 +34,8 @@
 #include "cloog/isl/domain.h"
 #include "cloog/isl/cloog.h"
+#include <unistd.h>
 using namespace llvm;
 using namespace polly;

More information about the llvm-commits mailing list