|
@@ -19,17 +19,15 @@
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
*/
|
|
|
|
|
|
-#include <sys/types.h>/*setsockopt,bind,accept,fork,pid_t*/
|
|
|
+#include <sys/types.h>/*setsockopt,bind,accept,fork,pid_t,waitpid*/
|
|
|
#include <sys/socket.h>/*setsockopt,bind,accept,listen*/
|
|
|
#include <netinet/tcp.h>/*TCP_NODELAY*/
|
|
|
-#include <string.h>/*strcmp,memset*/
|
|
|
+#include <string.h>/*strcmp,memset,memcmp*/
|
|
|
#include <errno.h>/*errno*/
|
|
|
#include <unistd.h>/*close(),read(),pipe,fork,pid_t*/
|
|
|
#include <poll.h>/*poll*/
|
|
|
#include <signal.h>/*signal*/
|
|
|
#include <time.h>/*time*/
|
|
|
-#include <string.h>/*memcmp*/
|
|
|
-#include <sys/types.h>/*waitpid*/
|
|
|
#include <sys/wait.h>/*waitpid*/
|
|
|
|
|
|
#include "../../core/ip_addr.h" /*sockaddr_union, ip_addr*/
|