needless includes directives (header files) removed.
This commit is contained in:
@@ -7,10 +7,8 @@ AC_CHECK_HEADERS([arpa/inet.h \
|
|||||||
dirent.h \
|
dirent.h \
|
||||||
fcntl.h \
|
fcntl.h \
|
||||||
netdb.h \
|
netdb.h \
|
||||||
netinet/in.h \
|
|
||||||
pthread.h \
|
pthread.h \
|
||||||
sys/ioctl.h \
|
sys/ioctl.h \
|
||||||
sys/socket.h \
|
|
||||||
termios.h])
|
termios.h])
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR([build])
|
AC_CONFIG_AUX_DIR([build])
|
||||||
|
|||||||
@@ -20,14 +20,10 @@
|
|||||||
#include "port.h"
|
#include "port.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <termios.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace libebus
|
namespace libebus
|
||||||
|
|||||||
@@ -19,11 +19,7 @@
|
|||||||
|
|
||||||
#include "tcpsocket.h"
|
#include "tcpsocket.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
#ifndef LIBUTILS_TCPSOCKET_H_
|
#ifndef LIBUTILS_TCPSOCKET_H_
|
||||||
#define LIBUTILS_TCPSOCKET_H_
|
#define LIBUTILS_TCPSOCKET_H_
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user