Need gnu_source for memmem to work properly.
1 2 3 4 5 6 7 8 9
diff --git a/ocl.c b/ocl.c index 5f29fd9..4173026 100644 --- a/ocl.c +++ b/ocl.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include <signal.h> #include <stdlib.h> #include <string.h>