Support for Debian/FreeBSD
[olsrd.git] / lib / nameservice / src / compat.h
1 #ifndef _NAMESERVICE_COMPAT
2 #define _NAMESERVICE_COMPAT
3
4 #include <sys/types.h>
5
6 #if !defined(__linux__) && !defined(__GLIBC__)
7 char *strndup(const char *ptr, size_t size);
8 #endif
9
10 #endif
11
12 /*
13  * Local Variables:
14  * c-basic-offset: 2
15  * indent-tabs-mode: nil
16  * End:
17  */