summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2017-01-09 08:31:57 +0000
committerepochqwert <epoch@hacking.allowed.org>2017-01-09 08:31:57 +0000
commit1af804bc9afedfdfefdb527ae78534b0b0af1e7d (patch)
tree004fdeae71afe1d611409dedc5e573e68f68d81c
parent60d1d4e3a9e7111d4647452261059051d0d37835 (diff)
downloadsegfault-1af804bc9afedfdfefdb527ae78534b0b0af1e7d.tar.gz
segfault-1af804bc9afedfdfefdb527ae78534b0b0af1e7d.zip
added a workaround to get it to build on linux
-rw-r--r--segfault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/segfault.c b/segfault.c
index 5af65f5..ebf3c74 100644
--- a/segfault.c
+++ b/segfault.c
@@ -7,6 +7,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
+#define __need_timer_t
#include <time.h>
#include <pwd.h>
#include <sys/stat.h>