i386.c: Conditionally include <stdlib.h>, <string.h>, and <strings.h>.

* i386.c: Conditionally include <stdlib.h>, <string.h>, and
        <strings.h>.

From-SVN: r17864
This commit is contained in:
Marc Lehmann 1998-02-11 23:03:32 +00:00 committed by Jeff Law
parent 06ab59dfa0
commit a49103407c
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
* i386.c: Conditionally include <stdlib.h>, <string.h>, and
<strings.h>.
Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (WARN_CFLAGS): New variable.

View File

@ -37,6 +37,18 @@ Boston, MA 02111-1307, USA. */
#include "function.h"
#include "recog.h"
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#else
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#endif
#ifdef EXTRA_CONSTRAINT
/* If EXTRA_CONSTRAINT is defined, then the 'S'
constraint in REG_CLASS_FROM_LETTER will no longer work, and various