mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Patch to fix stdint.h missing from pre Solaris 10 versions.
This commit is contained in:
@@ -43,7 +43,12 @@
|
|||||||
#define LIBEDIT_MAJOR 2
|
#define LIBEDIT_MAJOR 2
|
||||||
#define LIBEDIT_MINOR 11
|
#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>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@@ -47,7 +47,14 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.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>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user