summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/__error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/__error.c')
-rw-r--r--lib/libc/sys/__error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/__error.c b/lib/libc/sys/__error.c
index 28cc31d..8a065bf7 100644
--- a/lib/libc/sys/__error.c
+++ b/lib/libc/sys/__error.c
@@ -30,6 +30,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "libc_private.h"
+
extern int errno;
static int *
OpenPOWER on IntegriCloud