From: Jim Meyering Date: Wed, 13 Apr 2011 11:00:06 +0000 (+0200) Subject: Add missing include directives. X-Git-Tag: 1.11.1~16 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=0db662eae54b21fccadabe817afbc0fa89d980b2 Add missing include directives. * fish/config.c: Include string.h, for use of strlen. * fish/keys.c: Likewise, but for use of memcpy. * fish/man.c: Likewise, but for use of memset. --- diff --git a/fish/config.c b/fish/config.c index c1d34fb..66d2810 100644 --- a/fish/config.c +++ b/fish/config.c @@ -20,6 +20,7 @@ #include #include +#include #ifdef HAVE_LIBCONFIG #include diff --git a/fish/keys.c b/fish/keys.c index deb627f..ec15c8f 100644 --- a/fish/keys.c +++ b/fish/keys.c @@ -1,5 +1,5 @@ /* libguestfs - guestfish and guestmount shared option parsing - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include #include #include +#include #include "guestfs.h" diff --git a/fish/man.c b/fish/man.c index 1965b64..522a86c 100644 --- a/fish/man.c +++ b/fish/man.c @@ -1,5 +1,5 @@ /* guestfish - the filesystem interactive shell - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #include #include #include +#include #include #include "fish.h"