Commit d5b05dd6 authored by yb9976's avatar yb9976
Browse files

Undef __USE_BSD if it was not defined before.

parent ca3cf514
...@@ -36,8 +36,11 @@ typedef union { ...@@ -36,8 +36,11 @@ typedef union {
*/ */
#ifndef __USE_BSD #ifndef __USE_BSD
#define __USE_BSD #define __USE_BSD
#endif
#include <sys/time.h> #include <sys/time.h>
#undef __USE_BSD
#else
#include <sys/time.h>
#endif
/* Linux timer value. */ /* Linux timer value. */
typedef struct timeval ir_timer_val_t; typedef struct timeval ir_timer_val_t;
......
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