From 69c9999d0ca45b210e75706ab4952ad5a33ce6ec Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 8 Jan 2003 17:05:52 +0000 Subject: Add #include so that "s->strings = realloc(...)" doesn't segfault on ia64. (This file isn't vendor branched) --- contrib/com_err/getarg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/com_err') diff --git a/contrib/com_err/getarg.c b/contrib/com_err/getarg.c index 6972e6987c41..80f76ab4a5ec 100644 --- a/contrib/com_err/getarg.c +++ b/contrib/com_err/getarg.c @@ -34,6 +34,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $FreeBSD$ */ #if 0 @@ -43,6 +45,7 @@ RCSID("$Id: getarg.c,v 1.25 1998/11/22 09:45:05 assar Exp $"); #include #include #include +#include #include "getarg.h" #define ISFLAG(X) ((X).type == arg_flag || (X).type == arg_negative_flag) -- cgit v1.2.3