Skip to content
Snippets Groups Projects
Commit b533e885 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed OpenBSD build (missing header).

Change-Id: Idb34e5dc231760fa1b0eb8e28250c2f390b43f71
parent 3b6633ba
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ AC_SEARCH_LIBS([adler32], [z])
# Checks for header files.
AC_HEADER_RESOLV
AC_CHECK_HEADERS_ONCE([cap-ng.h netinet/in_systm.h pthread_np.h signal.h sys/select.h sys/time.h sys/wait.h])
AC_CHECK_HEADERS_ONCE([cap-ng.h netinet/in_systm.h pthread_np.h signal.h sys/select.h sys/time.h sys/wait.h sys/uio.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
......
......@@ -34,6 +34,9 @@
#include <errno.h>
#include <limits.h>
#include <sys/param.h>
#ifdef HAVE_SYS_UIO_H /* 'struct iovec' for OpenBSD */
#include <sys/uio.h>
#endif /* HAVE_SYS_UIO_H */
#ifdef HAVE_CAP_NG_H
#include <cap-ng.h>
#endif /* HAVE_CAP_NG_H */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment