Commit cb67c847 authored by Nirbhay Choubey's avatar Nirbhay Choubey

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.
parent f3750427
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "config.h" #include "config.h"
#endif #endif
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "config.h" #include "config.h"
#endif #endif
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "config.h" #include "config.h"
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
#if 0 #if 0
static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93"; static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
#include "config.h" #include "config.h"
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
......
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
* unvis flags * unvis flags
*/ */
#define UNVIS_END _VIS_END /* no more characters */ #define UNVIS_END _VIS_END /* no more characters */
#include <sys/cdefs.h>
/* XXXMYSQL */ /* XXXMYSQL */
#ifndef __RENAME #ifndef __RENAME
#define __RENAME(x) #define __RENAME(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment