* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <winsock2.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include "event2/util.h"
#include "event2/buffer.h"
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/resource.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <stdint.h>
#include <sys/types.h>
*/
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_DNS_USE_FTIME_FOR_ID
#include <sys/timeb.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* As in the select(2) implementation, signals are handled by evsignal.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/time.h>
#include <sys/queue.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE. */
#define _GNU_SOURCE
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
+
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
+
#define _REENTRANT
#ifdef _EVENT_HAVE_SYS_PARAM_H
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#define _GNU_SOURCE
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#include <winsock2.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
* cc -I/usr/local/include -o event-test event-test.c -L/usr/local/lib -levent
*/
-#ifdef HAVE_CONFIG_H
-#include "event-config.h"
-#endif
+#include <event-config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
-#include "event-config.h"
-#endif
+#include <event-config.h>
#include <sys/stat.h>
#ifndef WIN32
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
-#include "event-config.h"
-#endif
+#include <event-config.h>
#include <sys/stat.h>
#ifndef WIN32
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
extern "C" {
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif /* HAVE_CONFIG_H */
#ifndef _EVENT_HAVE_STRLCPY
#include <string.h>
#include <sys/types.h>
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif /* HAVE_CONFIG_H */
#ifndef _EVENT_HAVE_STRLCPY
#include "strlcpy-internal.h"
*
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
*
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
*
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <ws2tcpip.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#ifdef _EVENT___func__
#define __func__ _EVENT___func__
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <stdio.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <ws2tcpip.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
+
#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <windows.h>
#endif
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
#include <sys/types.h>
#ifndef WIN32
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
-
#ifdef WIN32
#include <winsock2.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#ifdef HAVE_CONFIG_H
#include "event-config.h"
-#endif
-
#ifdef WIN32
#include <winsock2.h>