--- a/libetc.c +++ b/libetc.c @@ -22,6 +22,7 @@ #define _GNU_SOURCE #include <dlfcn.h> #include <stdio.h>+#include <stdlib.h> #include <sys/types.h> #include <string.h> #include <dirent.h>