==== glibc-2.18/string/string.h#1 - glibc-2.18/string/string.h ==== --- glibc-2.18/string/string.h#1 2013-08-16 08:55:11.000000000 -0700 +++ glibc-2.18/string/string.h 2013-08-28 17:07:57.000000000 -0700 @@ -32,7 +32,7 @@ #include /* Tell the caller that we provide correct C++ prototypes. */ -#if defined __cplusplus && __GNUC_PREREQ (4, 4) +#if defined __cplusplus && (__GNUC_PREREQ (4, 4) || defined __clang__) # define __CORRECT_ISO_CPP_STRING_H_PROTO #endif ==== glibc-2.18/string/strings.h#1 - glibc-2.18/string/strings.h ==== --- glibc-2.18/string/strings.h#1 2013-08-16 08:55:11.000000000 -0700 +++ glibc-2.18/string/strings.h 2013-08-28 17:07:58.000000000 -0700 @@ -28,7 +28,7 @@ # include /* Tell the caller that we provide correct C++ prototypes. */ -# if defined __cplusplus && __GNUC_PREREQ (4, 4) +# if defined __cplusplus && (__GNUC_PREREQ (4, 4) || defined __clang__) # define __CORRECT_ISO_CPP_STRINGS_H_PROTO # endif