Hi,

Here a little patch proposal to fix OpenBSD build.

Regards.
From 999db97d098e1498321808544112a4e441c981c0 Mon Sep 17 00:00:00 2001
From: David Carlier <[email protected]>
Date: Sun, 18 Feb 2018 19:36:42 +0000
Subject: [PATCH] BUILD/MINOR: haproxy

stdint.h is needed on OpenBSD fr uintptr_t type.
---
 include/common/memory.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/common/memory.h b/include/common/memory.h
index 9ec9fc7ef..fce0d5fe9 100644
--- a/include/common/memory.h
+++ b/include/common/memory.h
@@ -26,6 +26,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #include <common/config.h>
 #include <common/mini-clist.h>
-- 
2.16.0

Reply via email to