original 1.0.1 release
[xwelltris.git] / src / include / globals.h.in
blob9b49ccd28dcceb16c521120f443931ee9357a888
1 #ifndef XNC_GLOBALS_H
2 #define XNC_GLOBALS_H
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
8 #include <globdef.h>
9 #ifdef HAVE_SYS_SIGEVENT_H
10 #include <sys/sigevent.h>
11 #endif
12 #include <stdio.h>
13 #include <string.h>
14 #ifdef HAVE_STRINGS_H
15 #include <strings.h>
16 #endif
17 #include <stdlib.h>
18 #include <stdarg.h>
20 #ifdef HAVE_LIMITS_H
21 #include <limits.h>
22 #endif
24 #ifdef HAVE_SYS_TYPES_H
25 #include <sys/types.h>
26 #endif
27 #ifdef HAVE_SYS_STAT_H
28 #include <sys/stat.h>
29 #endif
30 #ifdef HAVE_SYS_UTSNAME_H
31 #include <sys/utsname.h>
32 #endif
34 #ifdef TIME_WITH_SYS_TIME
35 #include <sys/time.h>
36 #include <time.h>
37 #else
38 #ifdef HAVE_SYS_TIME_H
39 #include <sys/time.h>
40 #else
41 #include <time.h>
42 #endif
43 #endif
45 #ifdef HAVE_SYS_PARAM_H
46 #include <sys/param.h>
47 #endif
49 #ifdef HAVE_SYS_WAIT_H
50 #include <sys/wait.h>
51 #endif
53 #ifdef HAVE_SYS_SELECT_H
54 #include <sys/select.h>
55 #endif
57 #ifdef HAVE_UNISTD_H
58 #include <unistd.h>
59 #endif
61 #ifdef HAVE_FCNTL_H
62 #include <fcntl.h>
63 #endif
65 #include <ctype.h>
67 #ifdef HAVE_ERRNO_H
68 #include <errno.h>
69 #endif
71 #ifdef HAVE_MATH_H
72 #include <math.h>
73 #endif
75 #include "types.h"
76 #include "mydebug.h"
78 #define MAX2(x1,x2) (x1<x2 ? x2 : x1)
80 #define W_PI 3.14159265358979323846
82 #define LOCAL_SEARCH ".xwelltris"
83 #define GLOBAL_SEARCH "@prefix@/share/xwelltris"
86 #endif
88 /* ------------ End of file -------------- */