mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Bug#13102538 : COMPILE ERROR ON SOLARIS WHEN COMPILING
WITH LIBEDIT Libedit won't build on platforms that do not provide "sys/cdefs.h". Removed the inclusion of cdefs.h from all files other that sys.h, which includes this file only when the header is found while configuring.
This commit is contained in:
parent
05a38e7bf3
commit
96abfdfd22
5 changed files with 0 additions and 5 deletions
|
@ -24,7 +24,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@
|
|||
* unvis flags
|
||||
*/
|
||||
#define UNVIS_END _VIS_END /* no more characters */
|
||||
#include <sys/cdefs.h>
|
||||
/* XXXMYSQL */
|
||||
#ifndef __RENAME
|
||||
#define __RENAME(x)
|
||||
|
|
Loading…
Reference in a new issue