aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-25 08:38:55 +0100
committermarha <marha@users.sourceforge.net>2011-11-25 08:38:55 +0100
commit5455653b290af2a0bc81d21ce37d18d0dd55286e (patch)
tree7f136d3d057cc7ca4478a23b5b5ee532dc45d7e3
parent849d328b25c2f3c87d539e1fe7af38e7580a0409 (diff)
downloadvcxsrv-5455653b290af2a0bc81d21ce37d18d0dd55286e.tar.gz
vcxsrv-5455653b290af2a0bc81d21ce37d18d0dd55286e.tar.bz2
vcxsrv-5455653b290af2a0bc81d21ce37d18d0dd55286e.zip
strndup.c added in makefile
-rw-r--r--include/dix-config.h9
-rw-r--r--xorg-server/os/makefile5
2 files changed, 14 insertions, 0 deletions
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 <string.h> 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))