diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-15 18:53:40 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-17 11:07:40 +0300 |
commit | c209ce76f7080c8233ba834fbb5ad10a6a2fa803 (patch) | |
tree | 7eaa5d191f61c09ee8b2036a328e8185f1c5f5dc /src/examples/demo_https.c | |
parent | e52c9e246873140da0cefd66bd438d541b1f2a6a (diff) | |
download | libmicrohttpd-c209ce76f7080c8233ba834fbb5ad10a6a2fa803.tar.gz libmicrohttpd-c209ce76f7080c8233ba834fbb5ad10a6a2fa803.zip |
Fixed missing <errno.h> includes
While 'errno' can be defined in various headers, by standard it must
be defined in <errno.h> header.
Diffstat (limited to 'src/examples/demo_https.c')
-rw-r--r-- | src/examples/demo_https.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c index 56c746ca..6658408a 100644 --- a/src/examples/demo_https.c +++ b/src/examples/demo_https.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #endif /* MHD_HAVE_LIBMAGIC */ | 45 | #endif /* MHD_HAVE_LIBMAGIC */ |
46 | #include <limits.h> | 46 | #include <limits.h> |
47 | #include <ctype.h> | 47 | #include <ctype.h> |
48 | #include <errno.h> | ||
48 | 49 | ||
49 | #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2 | 50 | #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2 |
50 | #undef MHD_CPU_COUNT | 51 | #undef MHD_CPU_COUNT |