commit 29b44d4e54c00198446a022f805d1bf4c8cb031a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Oct 30 13:13:03 2018 +0100

    Use glibc-provided getopt when available

diff --git a/Standalone/synth.c b/Standalone/synth.c
index bfa742c..5137995 100644
--- a/Standalone/synth.c
+++ b/Standalone/synth.c
@@ -42,6 +42,10 @@
 #include "zstring_list.h"
 #include <stdio.h>
 
+#if defined(__GLIBC__)
+#include <getopt.h>
+#else
+
 #if defined(TARGET_OS_DOS) || defined(TARGET_OS_SUN4) || defined (__STRICT_ANSI__)
 #include <string.h>
 #include "Posix/getopt.c"
@@ -51,6 +55,8 @@
 #include <getopt.h>
 #endif
 
+#endif
+
 #include "common.h"
 #include "database.h"
 #include "diphone.h"
