Don't #include <sys/ioctl.h> or <unistd.h> more than once

<unistd.h> is included by irc.h so it does not need to be included again here.

<sys/ioctl.h> only needs to be included once.
This commit is contained in:
Kevin Easton
2016-03-18 16:46:36 +11:00
parent 82d606979b
commit 94f4e1c2a3

View File

@@ -16,18 +16,16 @@ CVS_REVISION(commands2_c)
#include <sys/utsname.h>
#endif
#include <unistd.h>
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#include <sys/wait.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
#include "parse.h"
#include "server.h"
#include "chelp.h"