Commit eb2872e2 authored by Jordan Sissel's avatar Jordan Sissel

- useconds_t is confusingly defined only under some circumstances. This

  should fix compiles under linux/glibc
parent 2c29598e
......@@ -2,8 +2,9 @@
#define _BACKOFF_H_
#define _XOPEN_SOURCE 500 /* for useconds_t */
#include <sys/types.h>
#define _BSD_SOURCE /* also for useconds_t ? */
#include <unistd.h>
#include <sys/types.h>
struct backoff {
useconds_t max;
......
#define _BSD_SOURCE
#define _XOPEN_SOURCE 500 /* for useconds_t */
#include <string.h> /* for strsep, etc */
#include "harvester.h"
#include <string.h> /* for strerror(3) */
#include <errno.h> /* for errno */
#include <fcntl.h> /* for open(2) */
#include "backoff.h"
#include <unistd.h> /* for close, etc */
#include <stdio.h> /* printf and friends */
#include <zmq.h>
#include "harvester.h"
#include "backoff.h"
#include "insist.h"
#define EMITTER_SOCKET "inproc://emitter"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment