On Fri, Dec 06, 2013 at 07:35:45PM +0000, Alin Serdean wrote: > Signed-off-by: Alin Serdean <aserd...@cloudbasesolutions.com> > --- > lib/string.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/lib/string.h b/lib/string.h > index 2b7b454..6981742 100644 > --- a/lib/string.h > +++ b/lib/string.h > @@ -17,7 +17,11 @@ > #ifndef STRING_WRAPPER_H > #define STRING_WRAPPER_H 1 > > +#ifdef _WIN32 > +#include <../include/string.h> > +#else > #include_next <string.h> > +#endif > > /* Glibc 2.7 has a bug in strtok_r when compiling with optimization that can > * cause segfaults if the delimiters argument is a compile-time constant that
include_next.m4 would be a more portable solution, I think: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=m4/include_next.m4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev