Move CExecSock to ExecSock.h

As a result, Utils.h no longer has to include Socket.h and lots of stuff breaks.

Due to a severe case of lazyness, some of the code for CExecSock is still in
Utils.cpp. Feel free to fix if you really have to.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-04-03 11:13:37 +02:00
parent ac5c021c93
commit 1761fe71e4
7 changed files with 60 additions and 37 deletions

View File

@@ -7,12 +7,15 @@
*/
#include "FileUtils.h"
#include "ExecSock.h"
#include "Utils.h"
#include "ZNCDebug.h"
#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <pwd.h>
#ifndef HAVE_LSTAT
# define lstat(a, b) stat(a, b)