blob: 711f3a5bf27ac53a41c72e3e3b0b9e6682e6f2db [file] [log] [blame]
Harald Welte5df0be62019-04-17 20:54:29 +02001#pragma once
2/* whatever talloc 2.1.14 (from Debian talloc-2.1.14-2) required to build it
3 * with gcc-arm-none-eabi on a Debian unstable system */
4
5#include <stdbool.h>
6#include <string.h>
7#include <errno.h>
8#include <limits.h>
9
10#ifndef _PUBLIC_
11#define _PUBLIC_ __attribute__((visibility("default")))
12#endif
13
14#ifndef MIN
15#define MIN(a,b) ((a)<(b)?(a):(b))
16#endif
17
18#ifndef MAX
19#define MAX(a,b) ((a)>(b)?(a):(b))
20#endif
21
22#define TALLOC_BUILD_VERSION_MAJOR 2
23#define TALLOC_BUILD_VERSION_MINOR 1
24#define TALLOC_BUILD_VERSION_RELEASE 14
25
26#define HAVE_VA_COPY
27#define HAVE_CONSTRUCTOR_ATTRIBUTE