From 0d47952611198ef6b1163f366dc03922d20b1475 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:42:04 +0200 Subject: Adding upstream version 7.94+git20230807.3be01efb1+dfsg. Signed-off-by: Daniel Baumann --- libdnet-stripped/acconfig.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libdnet-stripped/acconfig.h (limited to 'libdnet-stripped/acconfig.h') diff --git a/libdnet-stripped/acconfig.h b/libdnet-stripped/acconfig.h new file mode 100644 index 0000000..8c7ce61 --- /dev/null +++ b/libdnet-stripped/acconfig.h @@ -0,0 +1,32 @@ +@BOTTOM@ + +#include + +#ifdef HAVE_WINSOCK2_H +# include +# include +#endif + +#ifdef __svr4__ +# define BSD_COMP 1 +#endif + +#if defined(__osf__) && !defined(_SOCKADDR_LEN) +# define _SOCKADDR_LEN 1 +#endif + +#ifndef HAVE_INET_PTON +int inet_pton(int, const char *, void *); +#endif + +#ifndef HAVE_STRLCPY +int strlcpy(char *, const char *, int); +#endif + +#ifndef HAVE_STRSEP +char *strsep(char **, const char *); +#endif + +#ifndef HAVE_SOCKLEN_T +typedef int socklen_t; +#endif -- cgit v1.2.3