Allow use of opkg internals by libopkg users. Not intended to be permanent.
[oweals/opkg-lede.git] / libopkg / includes.h
1 #ifndef INCLUDES_H
2 #define INCLUDES_H
3
4 #include "config.h"
5 #include <stdio.h>
6
7 #if STDC_HEADERS
8 # include <stdlib.h>
9 # include <stdarg.h>
10 # include <stddef.h>
11 # include <ctype.h>
12 # include <errno.h>
13 #else
14 # if HAVE_STDLIB_H
15 #  include <stdlib.h>
16 # endif
17 #endif
18
19 #if HAVE_REGEX_H
20 # include <regex.h>
21 #endif
22
23 #if HAVE_STRING_H
24 # include <string.h>
25 #endif
26
27 #if HAVE_STRINGS_H
28 # include <strings.h>
29 #endif
30
31 #if HAVE_SYS_STAT_H
32 # include <sys/stat.h>
33 #endif
34
35 #if HAVE_SYS_WAIT_H
36 # include <sys/wait.h>
37 #endif
38
39 #if HAVE_UNISTD_H
40 # include <sys/types.h>
41 # include <unistd.h>
42 #endif
43
44 // #include "replace/replace.h"
45
46 #endif