Explicitly include <sys/types.h> before including <regex.h>. This is

apparently required by POSIX.  It will be required in practice when
the bogus inclusion of <sys/types.h> is removed from <stdio.h>.
This commit is contained in:
Bruce Evans 1994-09-05 13:03:50 +00:00
parent c3d72e128b
commit 395b07d1df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2502

View file

@ -484,6 +484,7 @@ struct val *a, *b;
return r;
}
#include <sys/types.h>
#include <regex.h>
struct val *