mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* gtkedit/edit.h: Only include malloc.h if STDC_HEADERS is not
defined to prevent warnings on OpenBSD 2.7. * slang/jdmacros.h: Likewise. * src/mad.h: Likewise. * src/poptalloca.h: Likewise.
This commit is contained in:
parent
447597a790
commit
1f6ffaab0a
@ -1,5 +1,11 @@
|
|||||||
2001-02-20 Pavel Roskin <proski@gnu.org>
|
2001-02-20 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* gtkedit/edit.h: Only include malloc.h if STDC_HEADERS is not
|
||||||
|
defined to prevent warnings on OpenBSD 2.7.
|
||||||
|
* slang/jdmacros.h: Likewise.
|
||||||
|
* src/mad.h: Likewise.
|
||||||
|
* src/poptalloca.h: Likewise.
|
||||||
|
|
||||||
* configure.in: Check for sys/time.h and sys/timeb.h. Use
|
* configure.in: Check for sys/time.h and sys/timeb.h. Use
|
||||||
AC_HEADER_TIME.
|
AC_HEADER_TIME.
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
|
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# ifdef HAVE_MALLOC_H
|
# if !defined(STDC_HEADERS) && defined(HAVE_MALLOC_H)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC_H
|
#if !defined(STDC_HEADERS) && defined(HAVE_MALLOC_H)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/* To prevent molesting these files with the malloc/calloc/free macros. */
|
/* To prevent molesting these files with the malloc/calloc/free macros. */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef HAVE_MALLOC_H
|
#if !defined(STDC_HEADERS) && defined(HAVE_MALLOC_H)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ char *alloca ();
|
|||||||
|
|
||||||
#ifndef HAVE_ALLOCA
|
#ifndef HAVE_ALLOCA
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# ifdef HAVE_MALLOC_H
|
# if !defined(STDC_HEADERS) && defined(HAVE_MALLOC_H)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# endif
|
# endif
|
||||||
# define alloca malloc
|
# define alloca malloc
|
||||||
|
Loading…
Reference in New Issue
Block a user