Commit f283f0e2 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Grzegorz Daniluk

general: include <limits.h>

This version of ppsi, currently submodule of proposed_master of
wr-switch-sw, is not building because of INT_MAX, UINT_MAX and the like.

This includes <limits.h> in all files where this is needed.

Obviously, <limits.h> will be missing in wrpc-sw and bare builds, but
this version does not build for most architectures anyways (including
arch-unix).
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 07cd704e
......@@ -17,6 +17,7 @@
#include <unistd.h>
#include <limits.h>
#include <time.h>
#include <limits.h>
#include <ppsi/ppsi.h>
#include <ppsi-wrs.h>
......
......@@ -4,6 +4,7 @@
*
* Released according to the GNU LGPL, version 2.1 or any later version.
*/
#include <limits.h>
/* platform independent timespec-like data structure */
struct pp_cfg_time {
......
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