summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/roken.h
blob: 2af82b9e1b57a76ff0c410576db3a15050f55140 (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
/*
  a wrapper to avoid double inclusion of the real roken.h
 */
#ifndef _ROKEN_H_
#define _ROKEN_H_
#include "heimdal_build/config.h"

/* even if we do have dlopen, we don't want heimdal using it */
#undef HAVE_DLOPEN

/* we need to tell roken about the functions that Samba replaces in lib/replace */
#ifndef HAVE_SETEUID
#define HAVE_SETEUID 1
#endif

#ifndef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T
#endif

#ifndef HAVE_STRNDUP
#define HAVE_STRNDUP
#endif
#ifndef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T
#endif

#ifndef HAVE_SSIZE_T
#define HAVE_SSIZE_T
#endif



#include "heimdal/lib/roken/roken.h"
#endif