From 5455653b290af2a0bc81d21ce37d18d0dd55286e Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 25 Nov 2011 08:38:55 +0100 Subject: strndup.c added in makefile --- include/dix-config.h | 9 +++++++++ xorg-server/os/makefile | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/include/dix-config.h b/include/dix-config.h index 49a0a00fb..e959043b5 100644 --- a/include/dix-config.h +++ b/include/dix-config.h @@ -210,6 +210,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 +/* Define to 1 if you have the `strndup' function. */ +#undef HAVE_STRNDUP + /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 @@ -450,6 +453,12 @@ /* Use libudev for input hotplug */ #undef CONFIG_UDEV +/* Use udev_monitor_filter_add_match_tag() */ +#undef HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG + +/* Use udev_enumerate_add_match_tag() */ +#undef HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG + /* Use D-Bus for input hotplug */ #undef CONFIG_NEED_DBUS 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)) -- cgit v1.2.3