blob: 1600cd0e00c6794296f5066d1345b55f331c311b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$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 *
|