aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nss/nss_db/db-open.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ad7303f..b4d6496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-23 Marek Polacek <mpolacek@redhat.com>
+
+ * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
+
2011-06-22 Ulrich Drepper <drepper@gmail.com>
[BZ #12907]
diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c
index 36ce494..5a805cf 100644
--- a/nss/nss_db/db-open.c
+++ b/nss/nss_db/db-open.c
@@ -22,6 +22,7 @@
#include <dlfcn.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <sys/mman.h>
#include <not-cancel.h>