summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/svc.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 05:53:22 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 05:53:22 +0000
commite005f6e8d9c3b85c3b0adda9131163b56261aab8 (patch)
tree9d3d8ea7dbe76f4e82cd474af18b8916f2797152 /cpukit/librpc/src/rpc/svc.c
parent6e401331b86f553bf6d7dcdce7d7aebab11da369 (diff)
downloadrtems-e005f6e8d9c3b85c3b0adda9131163b56261aab8.tar.bz2
Add HAVE_STRINGS_H for better POSIX compliance.
Diffstat (limited to 'cpukit/librpc/src/rpc/svc.c')
-rw-r--r--cpukit/librpc/src/rpc/svc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/librpc/src/rpc/svc.c b/cpukit/librpc/src/rpc/svc.c
index 759931e258..9cc5cf3871 100644
--- a/cpukit/librpc/src/rpc/svc.c
+++ b/cpukit/librpc/src/rpc/svc.c
@@ -48,6 +48,9 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc.c,v 1.14 1999/08/28 00:00:4
#endif
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h> /* for ffs */
+#endif
#include <stdlib.h>
#include <sys/errno.h>
#include <rpc/rpc.h>