Skip to content

Commit

Permalink
Fixed compilation on Linux and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 6, 2024
1 parent edc0fc2 commit cbdf2b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wraps/PQconninfoParsePrepare.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "pqf-wraps.h"

int PQconninfoParsePrepare(const char *conninfo, char **errmsg, int **errlen, PQFconninfoSize**optionsizes)
int PQconninfoParsePrepare(const char *conninfo, char **errmsg, int *errlen, PQFconninfoSize**optionsizes)
{
int length;
char* errmsg_local;
Expand Down
1 change: 1 addition & 0 deletions src/wraps/PQconninfoPrepare.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <libpq-fe.h>

#include "pqf-wraps.h"
Expand Down
2 changes: 1 addition & 1 deletion src/wraps/c_FD.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __linux__
#if defined(__linux__) || defined(__APPLE__)

#include <sys/select.h>

Expand Down

0 comments on commit cbdf2b7

Please sign in to comment.