Skip to content
Snippets Groups Projects
Commit a5dafa31 authored by Tom Lane's avatar Tom Lane
Browse files

Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as to

build on systems without.
parent f2c65737
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,12 @@ ...@@ -5,11 +5,12 @@
b. palmer, bpalmer@crimelabs.net 1-17-2001 b. palmer, bpalmer@crimelabs.net 1-17-2001
*/ */
#include "postgres_fe.h"
#include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #ifdef HAVE_GETOPT_H
#include <getopt.h> #include <getopt.h>
#endif
#include "libpq-fe.h" #include "libpq-fe.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment