summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-03-08 17:23:24 +0000
committerJeroen Roovers <jer@gentoo.org>2012-03-08 17:23:24 +0000
commit2fb6b7cce84ac9eab77fcbcd36c428417a740589 (patch)
treeba64540b2e23d2987ea6fe099e84651cb9358039 /dev-db/tinycdb/files
parentAdd ~x86-fbsd. (diff)
downloadhistorical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.tar.gz
historical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.tar.bz2
historical-2fb6b7cce84ac9eab77fcbcd36c428417a740589.zip
Fix implicit declaration of function ‘umask’.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux i686
Diffstat (limited to 'dev-db/tinycdb/files')
-rw-r--r--dev-db/tinycdb/files/tinycdb-0.77-umask.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-db/tinycdb/files/tinycdb-0.77-umask.diff b/dev-db/tinycdb/files/tinycdb-0.77-umask.diff
new file mode 100644
index 000000000000..2a53babb2510
--- /dev/null
+++ b/dev-db/tinycdb/files/tinycdb-0.77-umask.diff
@@ -0,0 +1,11 @@
+--- a/cdb.c
++++ b/cdb.c
+@@ -21,6 +21,8 @@
+ #include <stdarg.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <sys/types.h> /* umask() */
++#include <sys/stat.h> /* umask() */
+ #include "cdb.h"
+
+ #ifndef EPROTO