fix build error when compiling against uclibc(++)

Fixes the following error:

In file included from ZNCString.cpp:10:0:
FileUtils.h: In static member function 'static CString CDir::GetCWD()':
FileUtils.h:246:36: error: 'getcwd' was not declared in this scope

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Jonas Gorski
2011-09-04 12:54:09 +02:00
committed by Uli Schlachter
parent d252a2b4e2
commit 461c61fd0f
+1
View File
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/fcntl.h>
#include <unistd.h>
#include <vector>
using std::vector;