From 1221e834f49adb91eb0b7443a57274f2611459c2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 23 Feb 2019 15:22:33 -0500 Subject: compile in current environment --- src/unistd/confstr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/unistd/confstr.c') diff --git a/src/unistd/confstr.c b/src/unistd/confstr.c index a0f57b30..0cf00319 100644 --- a/src/unistd/confstr.c +++ b/src/unistd/confstr.c @@ -1,13 +1,15 @@ +#include "sys/types.h" #include #include "errno.h" #include "string.h" +#include "nonstd/assert.h" size_t confstr(int name, char *buf, size_t len) { char *value = NULL; if (len > 0) { - __ASSERT_NONNULL(buf); + ASSERT_NONNULL(buf); } switch (name) { -- cgit v1.2.1