about summary refs log tree commit diff homepage
path: root/tools/gen-random-bout
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2011-06-09 17:20:36 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2011-06-09 17:20:36 +0000
commitaab6134c46bb4d0eb5ad1b4a8ffcb14355d9fcda (patch)
tree720cd6da48af0594fdc98548b793f7c5a4fbfd2c /tools/gen-random-bout
parentd9fe595122cd7c991163a8ab77a543375bb049a4 (diff)
downloadklee-aab6134c46bb4d0eb5ad1b4a8ffcb14355d9fcda.tar.gz
Patch from arrowdodger for fixing FreeBSD build..
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@132786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gen-random-bout')
-rw-r--r--tools/gen-random-bout/gen-random-bout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gen-random-bout/gen-random-bout.cpp b/tools/gen-random-bout/gen-random-bout.cpp
index 0a65bda2..2132f646 100644
--- a/tools/gen-random-bout/gen-random-bout.cpp
+++ b/tools/gen-random-bout/gen-random-bout.cpp
@@ -9,6 +9,10 @@
 
 #include "klee/Internal/ADT/KTest.h"
 
+#ifdef __FreeBSD__
+#define stat64 stat
+#endif
+
 // --sym-args 0 1 10 --sym-args 0 2 2 --sym-files 1 8 --sym-stdout
 static int getint(char *i) {
   if(!i) {