regex-tests, regex: fix bug: memset undeclared
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Feb 2013 17:19:06 +0000 (09:19 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Feb 2013 17:19:34 +0000 (09:19 -0800)
* tests/test-regex.c: Don't include regex.h twice.  Include
string.h, to declare memset.  Christensen's report also mentioned
this issue.
* m4/regex.m4 (gl_REGEX): Keep test program more in sync with
test-regex.c, to avoid future problems like this.  Remove
AC_INCLUDES_DEFAULT.  Include <string.h>.  Don't include <regex.h>
twice.


No differences found