opkg: initial implementation of package list signature verification
[oweals/opkg-lede.git] / includes.h
1 #ifndef INCLUDES_H
2 #define INCLUDES_H
3
4 #include <stdio.h>
5
6 #if STDC_HEADERS
7 # include <stdlib.h>
8 # include <stdarg.h>
9 # include <stddef.h>
10 # include <ctype.h>
11 # include <errno.h>
12 #else
13 # if HAVE_STDLIB_H
14 #  include <stdlib.h>
15 # endif
16 #endif
17
18 #if HAVE_REGEX_H
19 # include <regex.h>
20 #endif
21
22 #if HAVE_STRING_H
23 # if !STDC_HEADERS && HAVE_MEMORY_H
24 #  include <memory.h>
25 # endif
26 /* XXX: What's the right way to pick up GNU's strndup declaration? */
27 # if __GNUC__
28 #   define __USE_GNU 1
29 # endif
30 # include <string.h>
31 # undef __USE_GNU
32 #endif
33
34 #if HAVE_STRINGS_H
35 # include <strings.h>
36 #endif
37
38 #if HAVE_SYS_STAT_H
39 # include <sys/stat.h>
40 #endif
41
42 #if HAVE_SYS_WAIT_H
43 # include <sys/wait.h>
44 #endif
45
46 #if HAVE_UNISTD_H
47 # include <sys/types.h>
48 # include <unistd.h>
49 #endif
50
51 // #include "replace/replace.h"
52
53 #endif