From: Theodore Ts'o Date: Mon, 14 Nov 2005 19:49:15 +0000 (-0500) Subject: Add missing #include for string.h to ext2fs.h to fix GCC 4.01 complaints X-Git-Tag: E2FSPROGS-1.39-WIP-1210~17 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a82a57025c4368de330ecac9a430d84137ae2268;p=tools%2Fe2fsprogs.git 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" --- diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 93eccb3..40793f9 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 c573af3..d70e1b0 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"