aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os')
-rw-r--r--xorg-server/os/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/os/makefile b/xorg-server/os/makefile
index 779a1c95d..1c638d4a1 100644
--- a/xorg-server/os/makefile
+++ b/xorg-server/os/makefile
@@ -6,6 +6,7 @@ endif
SECURE_RPC=1
XDMCP=1
NEED_STRLCAT=1
+NEED_STRNDUP=1
SECURERPC_SRCS = rpcauth.c
XDMCP_SRCS = xdmcp.c
@@ -44,6 +45,10 @@ if NEED_STRLCAT
libos_la_SOURCES += $(STRLCAT_SRCS)
endif
+if NEED_STRNDUP
+libos_la_SOURCES += $(STRNDUP_SRCS)
+endif
+
CSRCS = $(filter %.c,$(libos_la_SOURCES))