about summary refs log tree commit diff
path: root/src/misc/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/getopt.c')
-rw-r--r--src/misc/getopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/getopt.c b/src/misc/getopt.c
index 35880a09..f1a1639c 100644
--- a/src/misc/getopt.c
+++ b/src/misc/getopt.c
@@ -70,3 +70,5 @@ int getopt(int argc, char * const argv[], const char *optstring)
 	}
 	return c;
 }
+
+weak_alias(getopt, __posix_getopt);