commit cb154b48b5a9417462d411c14e4d6c442e2a334e parent aecd7a94862d9b346bfef2e0e247c4b0ec43cd9f Author: bsandro <brian.drosan@gmail.com> Date: Sat, 4 Dec 2021 21:51:06 +0200 Allowing strndup(3) to work on Linux Diffstat:
M | day04/puzzle1.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/day04/puzzle1.c b/day04/puzzle1.c @@ -1,3 +1,5 @@ +#define _DEFAULT_SOURCE + #include <stdio.h> #include <stdlib.h> #include <errno.h>