$NetBSD: patch-ac,v 1.2 1998/08/07 11:10:58 agc Exp $ --- libident/ident.h 1998/06/11 13:09:45 1.1 +++ libident/ident.h 1998/06/11 13:11:24 @@ -22,13 +22,13 @@ * Sigh, GCC v2 complains when using undefined struct tags * in function prototypes... */ -#if defined(__GNUC__) && !defined(IPPROTO_IP) +#if defined(__GNUC__) && !defined(IPPROTO_IP) && !defined(__NetBSD__) # define __STRUCT_IN_ADDR_P void * #else # define __STRUCT_IN_ADDR_P struct in_addr * #endif -#if defined(__GNUC__) && !defined(DST_NONE) +#if defined(__GNUC__) && !defined(DST_NONE) && !defined(__NetBSD__) # define __STRUCT_TIMEVAL_P void * #else # define __STRUCT_TIMEVAL_P struct timeval *