From a82a57025c4368de330ecac9a430d84137ae2268 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 14 Nov 2005 14:49:15 -0500 Subject: [PATCH] Add missing #include for string.h to ext2fs.h to fix GCC 4.01 complaints #include is needed since the inline functions use memcpy(). (Addresses Sourceforge Bug #1251062) Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/ChangeLog | 5 +++++ lib/ext2fs/ext2fs.h | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 93eccb39..40793f9d 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,8 @@ +2005-11-13 Theodore Ts'o + + * ext2fs.h: Add #include since the inline functions use + memcpy(). (Addresses Sourceforge Bug #1251062) + 2005-11-09 Theodore Ts'o * Fix a bug when writing an external journal device on an big diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index c573af39..d70e1b0c 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -60,6 +60,7 @@ extern "C" { #include #include +#include #if EXT2_FLAT_INCLUDES #include "e2_types.h"