summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 60cfceae4d81267f02b649aaaa83eb8ac6ae6eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef COMMON_H
#define COMMON_H

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#if HAVE_STDLIB_H
# include <stdlib.h>
#else
# errnor "no stdlib, wtf?"
#endif

#ifdef DEBUG
# if HAVE_ASSERT_H
#  include <assert.h>
# endif
#else
# define assert(__x) /* __x */
#endif

#endif /* COMMON_H */