Skip to content

Commit

Permalink
add defines and includes for solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
wg committed Mar 18, 2015
1 parent eb165ce commit 051c35f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion src/net.h
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 051c35f

Please sign in to comment.