diff options
-rw-r--r-- | lib/libc/gen/basename.c | 1 | ||||
-rw-r--r-- | lib/libc/gen/dirname.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c index 9bd2dc2..9552ab3 100644 --- a/lib/libc/gen/basename.c +++ b/lib/libc/gen/basename.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <libgen.h> +#include <stdlib.h> #include <string.h> #include <sys/param.h> diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c index 4e5ecb4..56b75f6 100644 --- a/lib/libc/gen/dirname.c +++ b/lib/libc/gen/dirname.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <libgen.h> +#include <stdlib.h> #include <string.h> #include <sys/param.h> |