view third_party/wrk/src/config.h @ 227:8bb0ac8f4587

[hg-web] Add Bazel deployment target
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 16:31:44 -0700
parents 94705b5986b3
children
line wrap: on
line source

#ifndef CONFIG_H
#define CONFIG_H

#if defined(__FreeBSD__) || defined(__APPLE__)
#define HAVE_KQUEUE
#elif defined(__linux__)
#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 */