[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x
From: |
Yoann Vandoorselaere |
Subject: |
[PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x |
Date: |
Fri, 28 Jul 2006 07:44:52 +0200 |
Hi,
Under FreeBSD 4.x, inclusion of arpa/inet.h without netinet/in.h being
included first will result in the following warnings, due to struct
in_addr not being declared:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
Attached is a fix for this issue.
Regards,
--
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com
inet-warnings.diff
Description: Text Data
- [PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x,
Yoann Vandoorselaere <=