]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/libevent/strlcpy-internal.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / libevent / strlcpy-internal.h
1 #ifndef STRLCPY_INTERNAL_H_INCLUDED_
2 #define STRLCPY_INTERNAL_H_INCLUDED_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include "event2/event-config.h"
9 #include "evconfig-private.h"
10
11 #ifndef EVENT__HAVE_STRLCPY
12 #include <string.h>
13 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
14 #define strlcpy event_strlcpy_
15 #endif
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif
22