diff options
author | Bruce Evans <bde@FreeBSD.org> | 1994-09-05 13:03:50 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1994-09-05 13:03:50 +0000 |
commit | 395b07d1df53d379549249db044cf619899dcd38 (patch) | |
tree | 21594022d45bf8b7231b3acd4f88d6db808a1bb2 /bin/expr/expr.y | |
parent | c3d72e128bf556c82e3367646d51e94a4c47b7f7 (diff) | |
download | src-395b07d1df53d379549249db044cf619899dcd38.tar.gz src-395b07d1df53d379549249db044cf619899dcd38.zip |
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>.
Notes
Notes:
svn path=/head/; revision=2502
Diffstat (limited to 'bin/expr/expr.y')
-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 57ad5022e496..b2649c10f869 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 * |