aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-08 19:49:17 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-08 19:49:17 +0000
commitcf6f93d426300d30c853dd9ad1306178d4fc959f (patch)
tree3f5fb45b81ff30bb2ddd1b8691a1c1eee2eb718e
parent67a0b49db3561f23c9a504c74b31cc2ff4689b5d (diff)
downloadglibc-cf6f93d426300d30c853dd9ad1306178d4fc959f.tar
glibc-cf6f93d426300d30c853dd9ad1306178d4fc959f.tar.gz
glibc-cf6f93d426300d30c853dd9ad1306178d4fc959f.tar.bz2
glibc-cf6f93d426300d30c853dd9ad1306178d4fc959f.zip
Update.
* nscd/nscd-client.h: Add a few #includes.
-rw-r--r--ChangeLog2
-rw-r--r--nscd/nscd-client.h12
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c38cb3cfe..c2875b72c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2004-09-08 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>
+ * nscd/nscd-client.h: Add a few #includes.
+
* nscd/Makefile (nscd-modules): Add nscd_setup_thread.
* nscd/connections.c (nscd_run): Call setup_thread for maintenance
threads.
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
index 7cdeba5485..953610adc1 100644
--- a/nscd/nscd-client.h
+++ b/nscd/nscd-client.h
@@ -23,9 +23,13 @@
#ifndef _NSCD_CLIENT_H
#define _NSCD_CLIENT_H 1
+#include <stdbool.h>
+#include <stdint.h>
+#include <sys/types.h>
#include <atomic.h>
#include <nscd-types.h>
+
/* Version number of the daemon interface */
#define NSCD_VERSION 2
@@ -257,9 +261,9 @@ static inline int __nscd_drop_map_ref (struct mapped_database *map,
/* Search the mapped database. */
-extern const struct datahead * __nscd_cache_search (request_type type,
- const char *key,
- size_t keylen,
- const struct mapped_database *mapped);
+extern const struct datahead *__nscd_cache_search (request_type type,
+ const char *key,
+ size_t keylen,
+ const struct mapped_database *mapped);
#endif /* nscd.h */