netbsd/external/bsd/ntp/dist/sntp/libevent/strlcpy-internal.h
2015-10-15 10:25:28 +02:00

25 lines
442 B
C

/* $NetBSD: strlcpy-internal.h,v 1.3 2015/07/10 14:20:34 christos Exp $ */
#ifndef STRLCPY_INTERNAL_H_INCLUDED_
#define STRLCPY_INTERNAL_H_INCLUDED_
#ifdef __cplusplus
extern "C" {
#endif
#include "event2/event-config.h"
#include "evconfig-private.h"
#ifndef EVENT__HAVE_STRLCPY
#include <string.h>
size_t event_strlcpy_(char *dst, const char *src, size_t siz);
#define strlcpy event_strlcpy_
#endif
#ifdef __cplusplus
}
#endif
#endif