ARG_MAX isn't a constant. am: d082733e4c am: c1058119e5
am: 26a2eb08be

Change-Id: Ib8c6e086d0183df66158ca8525d70f8c2a4c74e4
diff --git a/avahi-daemon/glob.c b/avahi-daemon/glob.c
index 7819279..340709a 100644
--- a/avahi-daemon/glob.c
+++ b/avahi-daemon/glob.c
@@ -188,7 +188,7 @@
 	if (flags & GLOB_LIMIT) {
 		limit = pglob->gl_matchc;
 		if (limit == 0)
-			limit = ARG_MAX;
+			limit = sysconf(_SC_ARG_MAX);
 	} else
 		limit = 0;
 	pglob->gl_flags = flags & ~GLOB_MAGCHAR;