Header cleanup on two more networking files (move libbb.h to the top and
remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em.
This commit is contained in:
@@ -8,17 +8,17 @@
|
||||
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
||||
*/
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/ether.h>
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
/* Older versions of net/if.h do not appear to define IF_NAMESIZE. */
|
||||
#ifndef IF_NAMESIZE
|
||||
|
||||
Reference in New Issue
Block a user