diff options
author | bde <bde@FreeBSD.org> | 1994-09-05 13:03:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-09-05 13:03:50 +0000 |
commit | ebb7b36c3a7ef99e4fd40ec71656d2db7bc8a3b2 (patch) | |
tree | 21594022d45bf8b7231b3acd4f88d6db808a1bb2 /bin | |
parent | b0926342c55d9665da1fc135a4c533a918d1f814 (diff) | |
download | FreeBSD-src-ebb7b36c3a7ef99e4fd40ec71656d2db7bc8a3b2.zip FreeBSD-src-ebb7b36c3a7ef99e4fd40ec71656d2db7bc8a3b2.tar.gz |
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>.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/expr/expr.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/expr/expr.y b/bin/expr/expr.y index 57ad502..b2649c1 100644 --- a/bin/expr/expr.y +++ b/bin/expr/expr.y @@ -484,6 +484,7 @@ struct val *a, *b; return r; } +#include <sys/types.h> #include <regex.h> struct val * |