diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-16 07:07:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-16 07:07:33 +0000 |
commit | 3691d6c0aa76879d2c1fd09c14f6dd4776cc42a3 (patch) | |
tree | e9d50f8026309150002fdd40aa0cbc3e6404b9bf /lib | |
parent | 523b7f35cd063575ad1d4494067988f7f74979db (diff) | |
download | coreutils-3691d6c0aa76879d2c1fd09c14f6dd4776cc42a3.tar.xz |
Include <string.h>, for declarations of memset and memcpy.
Diffstat (limited to 'lib')
-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 f2fddb75c..a595fe32b 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) |