Commit 141316af authored by Mike Gabriel's avatar Mike Gabriel

Xserver/os/log.c: Make sure strlcpy is defined in log.c. Immitate what is done in X.org.

parent f46af7de
......@@ -457,6 +457,13 @@ extern void AbortDDX(void);
extern void ddxGiveUp(void);
extern int TimeSinceLastInputEvent(void);
#ifndef HAVE_STRLCPY
extern _X_EXPORT size_t
strlcpy(char *dst, const char *src, size_t siz);
extern _X_EXPORT size_t
strlcat(char *dst, const char *src, size_t siz);
#endif
/* Logging. */
typedef enum _LogParameter {
XLOG_FLUSH,
......
......@@ -107,6 +107,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <stdlib.h> /* for malloc() */
#include <errno.h>
#include "input.h"
#include "site.h"
#include "opaque.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment