1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Include Posix-compliant header for fd_set.

Similar to f3ae3c4f, add Posix-compliant header to make FreeBSD happy.

Suggested by ucando.
This commit is contained in:
David Steele 2019-01-29 12:08:14 +02:00
parent b5a103f2df
commit 8634eb8c43
3 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,7 @@
<release-item-ideator id="ucando"/>
</release-item-contributor-list>
<p>Include Posix-compliant header for <code>strcasecmp()</code>.</p>
<p>Include Posix-compliant header for <code>strcasecmp()</code> and <code>fd_set</code>.</p>
</release-item>
</release-improvement-list>

View File

@ -1,6 +1,7 @@
/***********************************************************************************************************************************
Handle IO Read
***********************************************************************************************************************************/
#include <sys/select.h>
#include <unistd.h>
#include "common/debug.h"

View File

@ -6,6 +6,7 @@ TLS Client
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>