Add missing #include for string.h to ext2fs.h to fix GCC 4.01 complaints

#include <string.h> is needed since the inline functions use memcpy().  
(Addresses Sourceforge Bug #1251062)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2005-11-14 14:49:15 -05:00
parent a519836a29
commit a82a57025c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-11-13 Theodore Ts'o <tytso@mit.edu>
* ext2fs.h: Add #include <string.h> since the inline functions use
memcpy(). (Addresses Sourceforge Bug #1251062)
2005-11-09 Theodore Ts'o <tytso@mit.edu>
* Fix a bug when writing an external journal device on an big

View File

@ -60,6 +60,7 @@ extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if EXT2_FLAT_INCLUDES
#include "e2_types.h"