From fc75b897899e64bed6a931c93b967e698da2d213 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 17 Jan 2009 17:12:42 +0100 Subject: [PATCH] Fix compilation error on HP-UX 11.00. --- ChangeLog | 5 +++++ lib/fopen.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9a2c3fc38..b00193fd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-01-17 Bruno Haible + Fix compilation error on HP-UX 11.00, present since 2008-09-24. + * lib/fopen.c: Include and . + +2009-01-17 Bruno Haible + Avoid test-fflush2.sh failure on mingw. * tests/test-fflush2.c: Include binary-io.h. (main): Put standard input into binary mode. diff --git a/lib/fopen.c b/lib/fopen.c index b20d3bcd5..72610bd9b 100644 --- a/lib/fopen.c +++ b/lib/fopen.c @@ -1,5 +1,5 @@ /* Open a stream to a file. - Copyright (C) 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2007-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,8 @@ orig_fopen (const char *filename, const char *mode) #include #include #include +#include +#include FILE * rpl_fopen (const char *filename, const char *mode) -- 2.11.0