1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

libnsl2: Include stdint.h

uintptr_t is defined in stdint.h

(From OE-Core rev: 29366ea3ed574848cbf5a6fd9012bf53eddb338f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2017-06-12 07:59:04 -07:00
committed by Richard Purdie
parent d90102ed25
commit 93ddbfd17d
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,27 @@
From d71cbeb3b76e54778a4d5eec6d387cce653537ca Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 9 Jun 2017 09:49:35 -0700
Subject: [PATCH] nis_call.c: Include stdint.h for uintptr_t definition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
src/nisplus/nis_call.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/nisplus/nis_call.c b/src/nisplus/nis_call.c
index 1a2b90c..1dc982d 100644
--- a/src/nisplus/nis_call.c
+++ b/src/nisplus/nis_call.c
@@ -23,6 +23,7 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
+#include <stdint.h>
#include <libintl.h>
#include <rpc/rpc.h>
#include <rpc/auth.h>
--
2.13.1
@@ -18,6 +18,7 @@ SRCREV = "dfa2f313524aff9243c4d8ce1bace73786478356"
SRC_URI = "git://github.com/thkukuk/libnsl \
file://0001-include-sys-cdefs.h-explicitly.patch \
file://0002-Define-glibc-specific-macros.patch \
file://0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch \
"
S = "${WORKDIR}/git"