Utils.h: Include fcntl.h

fcntl.h is needed for fcntl() and defines like FD_CLOEXEC, F_SETFD and F_GETFD.
This worked so far, because some C++ header pulled in fcntl.h, but there are
systems out there for which this is not true. (Found on solaris)

Thanks to sartek.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1497 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-04-26 07:24:57 +00:00
parent c963815f7b
commit be4da7424e
+1
View File
@@ -12,6 +12,7 @@
#include "ZNCString.h"
#include <assert.h>
#include <cstdio>
#include <fcntl.h>
#include <map>
#include <sys/file.h>
#include <sys/time.h>