Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
922ea913
Commit
922ea913
authored
Feb 18, 1998
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for and include <getopt.h>
parent
6ab7e31e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
src/configure.in
src/configure.in
+1
-1
src/include/config.h.in
src/include/config.h.in
+3
-0
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.c
+5
-1
No files found.
src/configure.in
View file @
922ea913
...
@@ -419,7 +419,7 @@ dnl Checks for header files.
...
@@ -419,7 +419,7 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
AC_CHECK_HEADERS(sys/resource.h netdb.h arpa/inet.h)
AC_CHECK_HEADERS(sys/resource.h netdb.h arpa/inet.h
getopt.h
)
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
AC_CHECK_HEADERS(readline/history.h ieeefp.h fp_class.h)
AC_CHECK_HEADERS(readline/history.h ieeefp.h fp_class.h)
...
...
src/include/config.h.in
View file @
922ea913
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
* The following is set using configure.
* The following is set using configure.
*/
*/
/* Set to 1 if you have <getopt.h> */
#undef HAVE_GETOPT_H
/* Set to 1 if you have <fp_class.h> */
/* Set to 1 if you have <fp_class.h> */
#undef HAVE_FP_CLASS_H
#undef HAVE_FP_CLASS_H
...
...
src/interfaces/ecpg/preproc/ecpg.c
View file @
922ea913
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
/* Placed under the same copyright as PostgresSQL */
/* Placed under the same copyright as PostgresSQL */
#include <stdio.h>
#include <stdio.h>
#include <getopt.h>
#if HAVE_GETOPT_H
# include <getopt.h>
#else
# include <unistd.h>
#endif
#include <stdlib.h>
#include <stdlib.h>
#include <strings.h>
#include <strings.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment