freebsd-ports/graphics/gimmage/files/patch-src__FileManager.cpp
Pawel Pekala aaafecb9c5 - Fix build with clang
- Support desktop-file-utils
- Port supports staging

PR:		ports/184832
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 20:04:37 +00:00

16 lines
389 B
C++

--- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400
+++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400
@@ -23,12 +23,13 @@
#include "FileManager.h"
#include "defines.h"
+#define get_current_dir_name() getcwd(NULL, PATH_MAX)
#include "../config.h"
extern "C" {
#include <libintl.h>
-// #include <unistd.h>
+#include <unistd.h>
#include <sys/stat.h>
}