Skip to content

Commit

Permalink
fix build error when compiling against uclibc(++)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KanjiMonster authored and psychon committed Sep 13, 2011
1 parent fe05574 commit a9f8e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FileUtils.h
Expand Up @@ -16,6 +16,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/fcntl.h>
#include <unistd.h>
#include <vector>

using std::vector;
Expand Down

0 comments on commit a9f8e65

Please sign in to comment.