Commit 1d08e05a authored by Cedric Roux's avatar Cedric Roux

integration fix: protect include file

The command line to get the error was:
    ./build_oai --eNB -w EXMIMO -c
parent 5583e811
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
* \warning This code will be removed when a legacy libc API becomes available. * \warning This code will be removed when a legacy libc API becomes available.
*/ */
#ifndef _RT_WRAPPER_H_
#define _RT_WRAPPER_H_
#define _GNU_SOURCE #define _GNU_SOURCE
#include <time.h> #include <time.h>
...@@ -121,3 +122,4 @@ int sched_getattr(pid_t pid,struct sched_attr *attr,unsigned int size, unsigned ...@@ -121,3 +122,4 @@ int sched_getattr(pid_t pid,struct sched_attr *attr,unsigned int size, unsigned
#define gettid() syscall(__NR_gettid) // for gettid #define gettid() syscall(__NR_gettid) // for gettid
#endif /* _RT_WRAPPER_H_ */
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