diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-16 07:06:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-16 07:06:25 +0000 |
commit | 28d52bab31fb8b4495c260046b304864d4732cef (patch) | |
tree | 88c9187639c9004e2d68c38a1eb74dfffe826e4b /lib/xmalloc.c | |
parent | 02034062561c826463a212b37cfbd25ec5dd2d47 (diff) | |
download | gnulib-28d52bab31fb8b4495c260046b304864d4732cef.tar.gz |
Include <string.h>, for declarations of memset and memcpy.
Diffstat (limited to 'lib/xmalloc.c')
-rw-r--r-- | lib/xmalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c index f2fddb75c6..a595fe32bd 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -1,6 +1,6 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, + Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2003, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -25,6 +25,7 @@ #include <stdbool.h> #include <stdlib.h> +#include <string.h> #include "gettext.h" #define _(msgid) gettext (msgid) |