aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))