/* Define to `int' if `ssize_t' is not defined. */
#undef ssize_t
-/* Define to `struct in_addr' if `in_addr_t' is not defined. */
+/* Define to `jint' if `in_addr_t' is not defined. */
#undef in_addr_t
/* Define if inet6 structures are defined in netinet/in.h. */
echo "$ac_t""$ac_cv_type_in_addr_t" 1>&6
if test $ac_cv_type_in_addr_t = no; then
cat >> confdefs.h <<\EOF
-#define in_addr_t struct in_addr
+#define in_addr_t jint
EOF
fi
AC_CHECK_HEADERS(dirent.h)
AC_CHECK_TYPE([ssize_t], [int])
-AC_CHECK_TYPE([in_addr_t], [struct in_addr])
+AC_CHECK_TYPE([in_addr_t], [jint])
AC_MSG_CHECKING([whether struct sockaddr_in6 is in netinet/in.h])
AC_TRY_COMPILE([#include <netinet/in.h>], [struct sockaddr_in6 addr6;],
/* Define to `int' if `ssize_t' is not defined. */
#undef ssize_t
-/* Define to `struct in_addr' if `in_addr_t' is not defined. */
+/* Define to `jint' if `in_addr_t' is not defined. */
#undef in_addr_t
/* Define if inet6 structures are defined in netinet/in.h. */