X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fsysdep.h;h=57ba282ad85a150183b7f8e38a7dd9a28811a513;hb=331699936dd23746a7a079c63548c0ff25018320;hp=f1556da1f2eac090556a0912d0db0051b0f23efb;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h index f1556da1f2..57ba282ad8 100644 --- a/opcodes/sysdep.h +++ b/opcodes/sysdep.h @@ -1,22 +1,24 @@ /* Random host-dependent support code. - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright 1995, 1997, 2000, 2007 Free Software Foundation, Inc. Written by Ken Raeburn. -This file is part of libopcodes, the opcodes library. + This file is part of the GNU opcodes library. -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 -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This library 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 3, or (at your option) + any later version. -This program 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. + It 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 this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Do system-dependent stuff, mainly driven by autoconf-detected info. @@ -27,7 +29,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" -#include +#include "ansidecl.h" + +#ifdef HAVE_STDLIB_H +#include +#endif #ifdef HAVE_STRING_H #include @@ -36,3 +42,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #endif #endif + +#if !HAVE_DECL_STPCPY +extern char *stpcpy (char *__dest, const char *__src); +#endif