summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish')
-rw-r--r--fish/config.c1
-rw-r--r--fish/keys.c3
-rw-r--r--fish/man.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/fish/config.c b/fish/config.c
index c1d34fb4..66d28104 100644
--- a/fish/config.c
+++ b/fish/config.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_LIBCONFIG
#include <libconfig.h>
diff --git a/fish/keys.c b/fish/keys.c
index deb627f8..ec15c8f6 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 <stdlib.h>
#include <unistd.h>
#include <termios.h>
+#include <string.h>
#include "guestfs.h"
diff --git a/fish/man.c b/fish/man.c
index 1965b64e..522a86c0 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 <stdio.h>
#include <stdlib.h>
#include <signal.h>
+#include <string.h>
#include <sys/wait.h>
#include "fish.h"