Fix a FIXME about the format and add a test.
[oota-llvm.git] / lib / ExecutionEngine / OProfileJIT / OProfileWrapper.cpp
index d67f5370b8629744a2ddfbf8b8672698ffcb041f..7c0d39518595ebc76000a9194d3acf11bd17f6fd 100644 (file)
@@ -29,6 +29,7 @@
 #include <dirent.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 namespace {