old-cross-binutils/gas/config/ho-hpux.h
Jeff Law 5d5a6520c3 * config/ho-hpux.h: Do not include ho-sysv.h. Instead include
standard hpux include files to pick up various function decls.
1993-11-02 23:38:41 +00:00

41 lines
1.4 KiB
C

/* ho-hpux.h -- Header to compile the assembler under HP-UX
Copyright (C) 1988, 1991, 1992 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This header file contains the #defines specific
to HPUX changes sent me by cph@zurich.ai.mit.edu */
#ifndef hpux
#define hpux
#endif
#ifdef setbuffer
#undef setbuffer
#endif /* setbuffer */
#define setbuffer(stream, buf, size)
/* Some basic include files. Avoid including ho-sysv.h as it defines
malloc and free and the declarations do not match what HPUX puts
in its include files! Declaring such system functions is not all
that good of an idea. */
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
/* end of ho-hpux.h */