Add missing limits.h include for NAME_MAX
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 00:03:18 +0000 (19:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 00:03:18 +0000 (19:03 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_backend.c
libringbuffer/shm.c

index 20d9e2d3cb81e4de7f0904b0992ae84aeb570d85..9b33408125e96c80981fa3f9bacdd54f716e0efb 100644 (file)
@@ -8,6 +8,7 @@
 
 #define _GNU_SOURCE
 #include <urcu/arch.h>
+#include <limits.h>
 
 #include <lttng/ringbuffer-config.h>
 #include "vatomic.h"
index 69e4b1a765eb1d9dea37b9cafb6c06bbf8f4e8ad..4afb0c6e25b57f0083d1feb4532b54cbb2b612ec 100644 (file)
@@ -18,6 +18,7 @@
 #include <dirent.h>
 #include <lttng/align.h>
 #include <helper.h>
+#include <limits.h>
 
 struct shm_object_table *shm_object_table_create(size_t max_nb_obj)
 {
This page took 0.025501 seconds and 4 git commands to generate.