aboutsummaryrefslogtreecommitdiff
path: root/gcc/choose-temp.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-04-21 17:05:11 +0000
committerDoug Evans <dje@gnu.org>1996-04-21 17:05:11 +0000
commita7095f97f346e32c6a064f8a770f4054616f3c9f (patch)
tree2882ee2941fe30f78636f32039094890b8d15649 /gcc/choose-temp.c
parent88e42c0b29ed136d8579fd445e5f68cb259ea64b (diff)
downloadgcc-a7095f97f346e32c6a064f8a770f4054616f3c9f.zip
gcc-a7095f97f346e32c6a064f8a770f4054616f3c9f.tar.gz
gcc-a7095f97f346e32c6a064f8a770f4054616f3c9f.tar.bz2
Include sys/types.h before sys/file.h for sco3.2v5.
Fix line overflow in FSF address. From-SVN: r11863
Diffstat (limited to 'gcc/choose-temp.c')
-rw-r--r--gcc/choose-temp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/choose-temp.c b/gcc/choose-temp.c
index ae79892..1cb2635 100644
--- a/gcc/choose-temp.c
+++ b/gcc/choose-temp.c
@@ -13,13 +13,14 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+License along with libiberty; see the file COPYING.LIB. If not,
+write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* This file exports one function: choose_temp_base. */
#if ! defined (_WIN32) && ! defined (NO_SYS_FILE_H)
+#include <sys/types.h>
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
#endif