check for sys/errno.h
authorLove Hörnquist Åstrand <lha@h5l.org>
Thu, 26 Jun 2014 04:39:33 +0000 (21:39 -0700)
committerLove Hörnquist Åstrand <lha@h5l.org>
Fri, 18 Jul 2014 15:46:25 +0000 (17:46 +0200)
cf/roken-frag.m4
lib/roken/roken.h.in

index 5c82d27ee16aa2393f6ef00820b9abf269605752..0001b9211bb04812215be243da182b957f5a1d7f 100644 (file)
@@ -72,6 +72,7 @@ AC_CHECK_HEADERS([\
        shadow.h                                \
        stdint.h                                \
        sys/bswap.h                             \
+       sys/errno.h                             \
        sys/ioctl.h                             \
        sys/mman.h                              \
        sys/param.h                             \
index aee6652927e815c507614eecae26bea5dc800c53..cc5e827cc329e00edab28175087ca2ffe70a58e8 100644 (file)
@@ -182,6 +182,9 @@ struct sockaddr_dl;
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#ifdef HAVE_SYS_ERRNO_H
+#include <sys/errno.h>
+#endif
 #ifdef HAVE_SYS_BITYPES_H
 #include <sys/bitypes.h>
 #endif