sblim-sfcb: Add stdint.h for 'UINT16_MAX'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj 2017-06-27 19:08:07 -07:00 committed by Martin Jansa
parent d53546b7cb
commit c0d763a6e6
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 446fb15f79499f52ce01ca759dbdcfe635519a82 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 27 Jun 2017 07:09:33 -0700
Subject: [PATCH] include stdint.h system header for UINT16_MAX
Fixes build error
error: 'UINT16_MAX' undeclared (first use in this function)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
interopServerProvider.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/interopServerProvider.c b/interopServerProvider.c
index 23ae182..532febe 100644
--- a/interopServerProvider.c
+++ b/interopServerProvider.c
@@ -33,6 +33,7 @@
#include <sfcCommon/utilft.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <ctype.h>
#include <string.h>
#include <sys/types.h>
--
2.13.2

View File

@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f300afd598546add034364cd0a533261"
DEPENDS = "curl libpam openssl sblim-sfc-common unzip-native"
SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \
file://sfcb.service \
file://sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch \
file://sblim-sfcb-1.3.15-fix-provider-debugging.patch \
file://sblim-sfcb-1.3.16-maxMsgLen.patch \
@ -19,7 +20,8 @@ SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \
file://sblim-sfcb-1.3.16-multilib-man-cfg.patch \
file://sblim-sfcb-1.4.8-default-ecdh-curve-name.patch \
file://sblim-sfcb-1.4.9-fix-ftbfs.patch \
file://sfcb.service"
file://0001-include-stdint.h-system-header-for-UINT16_MAX.patch \
"
SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30"
SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd"