Mercurial > hg > freeDiameter
changeset 716:4784f2cf325f
Fix missing include for limit (should fix test for OpenSUSE)
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 17 Feb 2011 16:37:15 +0900 |
parents | 1c838ecd3442 |
children | 571b3abaa5df |
files | tests/testfifo.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/testfifo.c Tue Feb 15 14:23:59 2011 +0900 +++ b/tests/testfifo.c Thu Feb 17 16:37:15 2011 +0900 @@ -35,6 +35,7 @@ #include "tests.h" #include <unistd.h> +#include <limits.h> /* Structure for testing threshold function */ static struct thrh_test { @@ -212,6 +213,7 @@ if ((nbr_threads <= 0) || (nbr_threads > NBR_THREADS * 2)) { nbr_threads = NBR_THREADS; } else { + TRACE_DEBUG(INFO, "Local limit on number of threads: %d", nbr_threads); /* The local limit is bellow NBR_THREADS */ nbr_threads = (nbr_threads / 2) - 1; /* Ensure we create at least a few threads! */