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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user