blob: 3fc4caa2eaa3f62f904ea093c23e6806de882ca1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_ERRNO_H 1
#cmakedefine HAVE_FCNTL_H 1
#cmakedefine HAVE_IO_H 1
#cmakedefine HAVE_STRERROR 1
#define STDC_HEADERS 1
#ifdef STDC_HEADERS
#include <stdlib.h>
#include <string.h>
#else /* Not STDC_HEADERS */
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
extern void exit ();
extern char *malloc ();
#endif /* STDC_HEADERS */
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#else
#ifndef HAVE_STRERROR
extern int errno, sys_nerr;
extern char *sys_errlist[];
#else
extern int errno;
char *strerror();
#endif
#endif
#include <stdio.h>
|