pkgsrc/inputmethod/scim-fcitx/patches/patch-src_tools.cpp
2013-03-20 06:08:44 +00:00

14 lines
350 B
C++

$NetBSD: patch-src_tools.cpp,v 1.1 2013/03/20 06:08:44 obache Exp $
* require unistd.h for access(2).
--- src/tools.cpp.orig 2005-05-20 14:41:12.000000000 +0000
+++ src/tools.cpp
@@ -12,6 +12,7 @@ using namespace scim;
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <limits.h>
#include <string.h>