Properly integrate upstream vis/unvis

Adding appropriate changes to configure.ac and config.h
This commit is contained in:
Viktor Dukhovni
2016-11-15 01:33:08 -05:00
parent f5b9ec280e
commit c69a205b4c
7 changed files with 30 additions and 57 deletions

View File

@@ -44,6 +44,10 @@
#include <sys/cdefs.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(A)
#endif
@@ -101,13 +105,4 @@ typedef unsigned int u_int32_t;
#define REGEX /* Use POSIX.2 regular expression functions */
#undef REGEXP /* Use UNIX V8 regular expression functions */
#if defined(__sun)
extern int tgetent(char *, const char *);
extern int tgetflag(char *);
extern int tgetnum(char *);
extern int tputs(const char *, int, int (*)(int));
extern char* tgoto(const char*, int, int);
extern char* tgetstr(char*, char**);
#endif
#endif /* _h_sys */