aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2017-05-23 16:12:50 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2017-05-23 16:12:50 +0000
commit5a6d7b723f590eec8b13ff40c53facea67983230 (patch)
tree8f17ffb9d2673180e743bc22fbe91d8b6f5c6871 /include
parent583b5f3561ba67bb192e8a2ef3c432e1a624d874 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 73e92a5462c72..0b497d56e3666 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -464,7 +464,10 @@ static __inline int __sputc(int _c, FILE *_p) {
(*(p)->_p = (c), (int)*(p)->_p++))
#endif
+#ifndef __LIBC_ISTHREADED_DECLARED
+#define __LIBC_ISTHREADED_DECLARED
extern int __isthreaded;
+#endif
#ifndef __cplusplus