mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Patch to fix stdint.h missing from pre Solaris 10 versions.
This commit is contained in:
parent
381571fdca
commit
866af56743
2 changed files with 12 additions and 0 deletions
|
|
@ -43,7 +43,12 @@
|
|||
#define LIBEDIT_MAJOR 2
|
||||
#define LIBEDIT_MINOR 11
|
||||
|
||||
/* XXXMYSQL : stdint.h might not be available on older Solaris platforms. */
|
||||
#if defined(__sun) || defined(__sun__)
|
||||
#include <sys/inttypes.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,14 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
|
|||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/* XXXMYSQL : stdint.h might not be available on older Solaris platforms. */
|
||||
#if defined(__sun) || defined(__sun__)
|
||||
#include <sys/inttypes.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue