mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 16:43:39 +08:00
removed all system headers except the strict minimum
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
|
||||
#include "lwip/opt.h"
|
||||
|
||||
#if 0 /* UNUSED */
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
@@ -80,21 +81,16 @@
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if 0
|
||||
#include <sys/socket.h>
|
||||
#include <utmp.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#if defined(_PATH_LASTLOG) && defined(__linux__)
|
||||
#include <lastlog.h>
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAS_SHADOW
|
||||
#include <shadow.h>
|
||||
@@ -102,7 +98,9 @@
|
||||
#define PW_PPP PW_LOGIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
#endif /* UNUSED */
|
||||
|
||||
#include "ppp.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user