mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Add reallocarray prototype.
This commit is contained in:
parent
8fa822b521
commit
9bba26f8c5
5
compat.h
5
compat.h
@ -264,6 +264,11 @@ void cfmakeraw(struct termios *);
|
|||||||
int openat(int, const char *, int, ...);
|
int openat(int, const char *, int, ...);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_REALLOCARRAY
|
||||||
|
/* reallocarray.c */
|
||||||
|
void *reallocarray(void *, size_t, size_t size);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_GETOPT
|
#ifdef HAVE_GETOPT
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user