Adding sys/socket header reference for openBSD compatibility
[AC_MSG_ERROR([unable to find the toml_parse() function])]
)
+AC_SEARCH_LIBS([backtrace],[execinfo],[],
+ [AC_MSG_ERROR([unable to find backtrace() function])]
+)
+
+
# Check dependencies.
PKG_CHECK_MODULES([CHECK], [check])
#include "object/name.h"
#include "rsync/rsync.h"
+#include <sys/socket.h>
+
/* Just to prevent some line breaking. */
#define GN_URI uniformResourceIdentifier
#include "asn1/oid.h"
#include "object/signed_object.h"
+#include <sys/socket.h>
+
static int
roa_decode(OCTET_STRING_t *string, void *arg)
{
#include "resource/ip4.h"
#include "resource/ip6.h"
#include "resource/asn.h"
+#include <sys/socket.h>
+
/* The resources we extracted from one certificate. */
struct resources {
#include <string.h>
#include <arpa/inet.h>
+#include <sys/socket.h>
+
static pthread_key_t state_key;
static pthread_key_t filenames_key;