From: Jim Meyering Date: Sat, 27 Jan 2007 07:35:49 +0000 (+0000) Subject: * lib/mempcpy.c: Include before . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d90792110b23736fb629c7f3ee150d917e8e9e3a;p=pspp * lib/mempcpy.c: Include before . This fixes a compilation error on HP-UX, due to the system's "restrict"-using mempcpy prototype. --- diff --git a/ChangeLog b/ChangeLog index a6cd225034..e66395cc7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-27 Jim Meyering + + * lib/mempcpy.c: Include before . + This fixes a compilation error on HP-UX, due to the system's + "restrict"-using mempcpy prototype. + 2007-01-26 Bruno Haible Small optimization. diff --git a/lib/mempcpy.c b/lib/mempcpy.c index af0ed452ec..1c702c7f4c 100644 --- a/lib/mempcpy.c +++ b/lib/mempcpy.c @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include + /* Specification. */ #include