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