removed all system headers except the strict minimum

This commit is contained in:
Sylvain Rochet
2012-06-02 23:29:40 +02:00
parent 5531bca078
commit e1261c9620
11 changed files with 43 additions and 31 deletions

View File

@@ -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"