1
0
mirror of https://github.com/wg/wrk synced 2025-02-10 20:33:07 +08:00

add defines and includes for solaris

This commit is contained in:
Will 2015-03-18 21:18:33 +09:00
parent eb165ce430
commit 051c35fca6
2 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,11 @@
#define HAVE_EPOLL
#elif defined (__sun)
#define HAVE_EVPORT
#define _XPG6
#define __EXTENSIONS__
#include <stropts.h>
#include <sys/filio.h>
#include <sys/time.h>
#endif
#endif /* CONFIG_H */

View File

@ -1,9 +1,9 @@
#ifndef NET_H
#define NET_H
#include "config.h"
#include <stdint.h>
#include <openssl/ssl.h>
#include "wrk.h"
typedef enum {