diff options
Diffstat (limited to 'libwaitress/src/main.c')
-rw-r--r-- | libwaitress/src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libwaitress/src/main.c b/libwaitress/src/main.c index cc06ec6..545aa0a 100644 --- a/libwaitress/src/main.c +++ b/libwaitress/src/main.c @@ -21,6 +21,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#define _POSIX_C_SOURCE 1 /* required by getaddrinfo() */ +#define _BSD_SOURCE /* snprintf() */ + #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> |