aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-29 14:05:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:11:42 +0200
commit141316af0d45968b95c3fb5c08516dd6e93ac64e (patch)
tree1749b37d2b23df52353327e6ef53e9536dd9c7fc /nx-X11/programs/Xserver/include
parentf46af7de8496522e0d90448497fd019afafc8747 (diff)
downloadnx-libs-141316af0d45968b95c3fb5c08516dd6e93ac64e.tar.gz
nx-libs-141316af0d45968b95c3fb5c08516dd6e93ac64e.tar.bz2
nx-libs-141316af0d45968b95c3fb5c08516dd6e93ac64e.zip
Xserver/os/log.c: Make sure strlcpy is defined in log.c. Immitate what is done in X.org.
Diffstat (limited to 'nx-X11/programs/Xserver/include')
-rw-r--r--nx-X11/programs/Xserver/include/os.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/os.h b/nx-X11/programs/Xserver/include/os.h
index aaff63811..6e629c42f 100644
--- a/nx-X11/programs/Xserver/include/os.h
+++ b/nx-X11/programs/Xserver/include/os.h
@@ -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,