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 committed 2011-04-03 11:50:41 +02:00
1 parent ac5c021c93
commit 1761fe71e4
7 files changed
+60 -37

No files matched your search

+5 -2
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)