projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add freebsd support for getcpu (use cpu nr 0)
[deliverable/lttng-ust.git]
/
libringbuffer
/
ring_buffer_backend.c
diff --git
a/libringbuffer/ring_buffer_backend.c
b/libringbuffer/ring_buffer_backend.c
index dead69600f7a06391d9b276e348820eb0a59208a..9b33408125e96c80981fa3f9bacdd54f716e0efb 100644
(file)
--- a/
libringbuffer/ring_buffer_backend.c
+++ b/
libringbuffer/ring_buffer_backend.c
@@
-6,7
+6,9
@@
* Dual LGPL v2.1/GPL v2 license.
*/
* Dual LGPL v2.1/GPL v2 license.
*/
+#define _GNU_SOURCE
#include <urcu/arch.h>
#include <urcu/arch.h>
+#include <limits.h>
#include <lttng/ringbuffer-config.h>
#include "vatomic.h"
#include <lttng/ringbuffer-config.h>
#include "vatomic.h"
This page took
0.02623 seconds
and
5
git commands to generate.