2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Always include <errno.h> instead of <sys/errno.h>

Including <sys/errno.h> instead of <errno.h> raises a compiler warning
when building against musl libc.  Always include <errno.h> instead of
<sys/errno.h> to prevent that compilation warning from being triggered
and to achieve consistency in this regard across the entire source tree.
This commit is contained in:
Michał Kępień
2019-07-30 21:08:40 +02:00
parent 5381ac0fcc
commit b5cd146033
3 changed files with 3 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
#ifdef ENABLE_AFL
#include <named/globals.h>
#include <named/server.h>
#include <sys/errno.h>
#include <errno.h>
#include <isc/app.h>
#include <isc/condition.h>