mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
* process.c (Fnetwork_interface_info): Declare local only if needed.
This commit is contained in:
parent
358e1dd2b2
commit
0a0d27fb45
@ -1,3 +1,7 @@
|
||||
2011-08-14 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* process.c (Fnetwork_interface_info): Declare local only if needed.
|
||||
|
||||
2011-08-13 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477).
|
||||
|
@ -3726,7 +3726,8 @@ FLAGS is the current flags of the interface. */)
|
||||
Lisp_Object elt;
|
||||
int s;
|
||||
int any = 0;
|
||||
#if defined(HAVE_GETIFADDRS)
|
||||
#if (! (defined SIOCGIFHWADDR && defined HAVE_STRUCT_IFREQ_IFR_HWADDR) \
|
||||
&& defined HAVE_GETIFADDRS && defined LLADDR)
|
||||
struct ifaddrs *ifap;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user