mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f6b65fd631
commit
ac71f40f8f
@ -30,6 +30,10 @@
|
||||
|
||||
*/
|
||||
|
||||
#ifndef AUTOCONF_TEST
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@ -42,10 +46,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#ifndef AUTOCONF_TEST
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
@ -76,7 +76,10 @@
|
||||
#define QSORT_CAST (int (*)(const void *, const void *))
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NET_IF_H
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define BOOL int
|
||||
#include "netif.h"
|
||||
|
||||
|
Reference in New Issue
Block a user