From 0db662eae54b21fccadabe817afbc0fa89d980b2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 13 Apr 2011 13:00:06 +0200 Subject: [PATCH] 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. --- fish/config.c | 1 + fish/keys.c | 3 ++- fish/man.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) 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" -- 1.8.3.1