mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as to
build on systems without.
This commit is contained in:
@ -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"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user