Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / third_party / libevent / test / test-init.c
blobd60aa36bd56d0dc9be7eb9595883a01cf3a4c32b
1 /*
2 * Compile with:
3 * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
4 */
5 #ifdef HAVE_CONFIG_H
6 #include "config.h"
7 #endif
9 #ifdef WIN32
10 #include <winsock2.h>
11 #endif
13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #ifdef HAVE_SYS_TIME_H
16 #include <sys/time.h>
17 #endif
18 #ifdef HAVE_SYS_SOCKET_H
19 #include <sys/socket.h>
20 #endif
21 #include <fcntl.h>
22 #include <stdlib.h>
23 #include <stdio.h>
24 #include <string.h>
25 #ifdef HAVE_UNISTD_H
26 #include <unistd.h>
27 #endif
28 #include <errno.h>
30 #include <event.h>
32 int
33 main(int argc, char **argv)
35 /* Initalize the event library */
36 event_init();
38 return (0);