diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-23 15:22:33 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-23 15:22:33 -0500 |
| commit | 1221e834f49adb91eb0b7443a57274f2611459c2 (patch) | |
| tree | 7afb7ed5a203ddefd5559005af7ec61d801b972e /src/unistd/confstr.c | |
| parent | f546f27d1fdb8d2663b2fbb130f53ee32cac90b0 (diff) | |
compile in current environment
Diffstat (limited to 'src/unistd/confstr.c')
| -rw-r--r-- | src/unistd/confstr.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <unistd.h> #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) { |
