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

View File

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