aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netlink/librtnl/rtnl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/netlink/librtnl/rtnl.c b/netlink/librtnl/rtnl.c
index c0b2327..d66c2ee 100644
--- a/netlink/librtnl/rtnl.c
+++ b/netlink/librtnl/rtnl.c
@@ -32,6 +32,9 @@
#include <sys/types.h>
#include <sys/wait.h>
+#undef DBL_MAX
+#define DBL_MAX 1000000000.0
+
typedef enum {
RTNL_E_OPEN,
RTNL_E_CLOSE,