about summary refs log tree commit diff homepage
path: root/tools/klee-replay/klee-replay.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/klee-replay/klee-replay.c')
-rw-r--r--tools/klee-replay/klee-replay.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/klee-replay/klee-replay.c b/tools/klee-replay/klee-replay.c
index e1c7b7b2..8af90e98 100644
--- a/tools/klee-replay/klee-replay.c
+++ b/tools/klee-replay/klee-replay.c
@@ -24,8 +24,15 @@
 
 #if defined(__APPLE__) || defined(__FreeBSD__)
 #include <signal.h>
+
+#ifndef fgetc_unlocked
 #define fgetc_unlocked(x) fgetc (x)
+#endif
+
+#ifndef fputc_unlocked
 #define fputc_unlocked(x,y) fputc (x,y)
+#endif
+
 #else
 #include <sys/signal.h>
 #endif