Skip to content

Commit

Permalink
Work around a MINGW32 error by avoiding a duplicate optarg/optind dec…
Browse files Browse the repository at this point in the history
…laration
  • Loading branch information
tsjensen committed Feb 17, 2024
1 parent 9122a5b commit c27e33d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@
#endif

#include "boxes.h"
#include "bxstring.h"
#include "discovery.h"
#include "query.h"
#include "tools.h"
#include "cmdline.h"


#if !defined(__MINGW32__)
extern char *optarg; /* for getopt() */
extern int optind; /* for getopt() */
#endif


/* default tab stop distance (part of -t) */
Expand Down

0 comments on commit c27e33d

Please sign in to comment.