Commit e145891c authored by Alvaro Herrera's avatar Alvaro Herrera

Unbreak isolationtester on Win32

I broke it in a previous commit because I neglected to install the
necessary incantations to have getopt() work on Windows.

Per red blots in buildfarm.
parent e3e3087d
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
#ifndef WIN32 #ifndef WIN32
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#else
int getopt(int argc, char *const argv[], const char *optstring);
#endif /* ! WIN32 */ #endif /* ! WIN32 */
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
...@@ -25,6 +32,8 @@ ...@@ -25,6 +32,8 @@
#include "isolationtester.h" #include "isolationtester.h"
extern int optind;
#define PREP_WAITING "isolationtester_waiting" #define PREP_WAITING "isolationtester_waiting"
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment