summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-26 04:15:07 +0000
committerRoland McGrath <roland@gnu.org>2001-02-26 04:15:07 +0000
commit1041a8367ed98ceed0d722a1ce00adff7a99f712 (patch)
tree65db6f3f2cc4d157c11a5ca3b163b18d98b0aafb
parent0c68b7cafe4b5f957884852500c885ec741f758c (diff)
2001-02-25 Roland McGrath <roland@frob.com>
* pager-memcpy.c: Include <string.h> for memcpy decl.
-rw-r--r--libpager/pager-memcpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpager/pager-memcpy.c b/libpager/pager-memcpy.c
index ed63c247..1104ca0d 100644
--- a/libpager/pager-memcpy.c
+++ b/libpager/pager-memcpy.c
@@ -1,5 +1,5 @@
/* Fault-safe copy into or out of pager-backed memory.
- Copyright (C) 1996,97,99,2000 Free Software Foundation, Inc.
+ Copyright (C) 1996,97,99,2000,2001 Free Software Foundation, Inc.
Written by Roland McGrath.
This program is free software; you can redistribute it and/or
@@ -20,6 +20,7 @@
#include <sys/mman.h>
#include <hurd/sigpreempt.h>
#include <assert.h>
+#include <string.h>
/* Try to copy *SIZE bytes between the region OTHER points to
and the region at OFFSET in the pager indicated by PAGER and MEMOBJ.