mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Uncoditionally include errno.h instead of guessing
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
(cherry picked from commit 041248e7cc
)
This commit is contained in:
parent
6873ff26a1
commit
57680f5bde
1 changed files with 0 additions and 4 deletions
|
@ -37,11 +37,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#if (defined OPENBSD || defined SOLARIS || defined NETBSD || defined HAIKU)
|
||||
#include <errno.h>
|
||||
#else
|
||||
#include <sys/errno.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <netdb.h>
|
||||
#include <gnutls/x509.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue