]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: sock_unix: add missing errno.h
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:15:40 +0000 (22:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:15:40 +0000 (22:15 +0200)
It builds fine when openssl is enabled, but fails otherwise. No backport
is needed.

src/sock_unix.c

index 8bdfed9be88e52df7c7f104ff5c686d0ab538a71..cf3e49cb50be2729bc8149af88f608ad798b9413 100644 (file)
@@ -10,8 +10,9 @@
  *
  */
 
-#include <fcntl.h>
 #include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
 #include <string.h>
 #include <unistd.h>