blob: 15af1de315af70a5bdde7d379593b36414db90dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
see https://bugs.gentoo.org/945794
https://github.com/gtkwave/gtkwave/pull/455.patch
apply same ifdef as main.c
the getopt files have been deleted in the dev branch
--- a/src/globals.c
+++ b/src/globals.c
@@ -18,7 +18,11 @@
#include "fgetdynamic.h"
#include "ghw.h"
#include "globals.h"
+#ifdef HAVE_GETOPT_LONG
+#include <getopt.h>
+#else
#include "gnu-getopt.h"
+#endif
#include "gnu_regex.h"
#include "gtk23compat.h"
#include "lx2.h"
|