1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Check for and include <getopt.h>

This commit is contained in:
Marc G. Fournier
1998-02-18 01:26:02 +00:00
parent 6ab7e31efd
commit 922ea913b1
3 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,11 @@
/* Placed under the same copyright as PostgresSQL */
#include <stdio.h>
#include <getopt.h>
#if HAVE_GETOPT_H
# include <getopt.h>
#else
# include <unistd.h>
#endif
#include <stdlib.h>
#include <strings.h>