aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/getopt.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/src/getopt.m4 b/src/getopt.m4
index 29bab9c..df72e7b 100644
--- a/src/getopt.m4
+++ b/src/getopt.m4
@@ -479,6 +479,7 @@ cmpidx_short (const void *a, const void *b)
return opthelp[*ai].opt[1] - opthelp[*bi].opt[1];
}
+#ifdef HAVE_GETOPT_LONG
static int
cmpidx_long (const void *a, const void *b)
{
@@ -502,6 +503,7 @@ cmpidx_long (const void *a, const void *b)
lenb = strcspn (optb, ",");
return strncmp (opta, optb, lena > lenb ? lenb : lena);
}
+#endif
void
print_usage (void)

Return to:

Send suggestions and report system problems to the System administrator.