mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-11 18:32:31 +00:00
Added struct declarations to eliminate compiler warnings from
<arpa/inet.h> on AIX 4.3. Thanks to Waqar Malik <waqar@netscpe.com> for the bug report.
This commit is contained in:
parent
c0d9d4be04
commit
ff56da642f
@ -49,8 +49,18 @@
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef XP_UNIX
|
#ifdef XP_UNIX
|
||||||
|
#ifdef AIX
|
||||||
|
/*
|
||||||
|
* On AIX 4.3, the header <arpa/inet.h> refers to struct
|
||||||
|
* ether_addr and struct sockaddr_dl that are not declared.
|
||||||
|
* The following struct declarations eliminate the compiler
|
||||||
|
* warnings.
|
||||||
|
*/
|
||||||
|
struct ether_addr;
|
||||||
|
struct sockaddr_dl;
|
||||||
|
#endif /* AIX */
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif /* XP_UNIX */
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
||||||
#if defined(FREEBSD) || defined(BSDI) || defined(QNX)
|
#if defined(FREEBSD) || defined(BSDI) || defined(QNX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user