mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
netkit-rwho: Include stdint.h for int32_t
This ensures that when libc does not include stdint.h indirectly then it still can compile Fixes | ../include/protocols/rwhod.h:57:2: error: unknown type name 'int32_t'; did you mean 'uint32_t'? Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+10
-9
@@ -12,8 +12,6 @@ Upstream-Status: Pending
|
|||||||
rwhod/rwhod.c | 5 +++--
|
rwhod/rwhod.c | 5 +++--
|
||||||
3 files changed, 5 insertions(+), 2 deletions(-)
|
3 files changed, 5 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/ruptime/ruptime.c b/ruptime/ruptime.c
|
|
||||||
index 1d4f7b6..f1f043c 100644
|
|
||||||
--- a/ruptime/ruptime.c
|
--- a/ruptime/ruptime.c
|
||||||
+++ b/ruptime/ruptime.c
|
+++ b/ruptime/ruptime.c
|
||||||
@@ -53,6 +53,7 @@ char ruptime_rcsid[] =
|
@@ -53,6 +53,7 @@ char ruptime_rcsid[] =
|
||||||
@@ -24,11 +22,9 @@ index 1d4f7b6..f1f043c 100644
|
|||||||
|
|
||||||
struct hs {
|
struct hs {
|
||||||
char hs_hostname[MAXHOSTNAMELEN];
|
char hs_hostname[MAXHOSTNAMELEN];
|
||||||
diff --git a/rwho/rwho.c b/rwho/rwho.c
|
|
||||||
index 63919ac..71aec9e 100644
|
|
||||||
--- a/rwho/rwho.c
|
--- a/rwho/rwho.c
|
||||||
+++ b/rwho/rwho.c
|
+++ b/rwho/rwho.c
|
||||||
@@ -49,6 +49,7 @@ char rcsid[] = "$Id: rwho.c,v 1.7 1999/08/01 20:44:18 dholland Exp $";
|
@@ -49,6 +49,7 @@ char rcsid[] = "$Id: rwho.c,v 1.7 1999/0
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
@@ -36,8 +32,6 @@ index 63919ac..71aec9e 100644
|
|||||||
#include <protocols/rwhod.h>
|
#include <protocols/rwhod.h>
|
||||||
|
|
||||||
#include "../version.h"
|
#include "../version.h"
|
||||||
diff --git a/rwhod/rwhod.c b/rwhod/rwhod.c
|
|
||||||
index 54498d0..40cabcf 100644
|
|
||||||
--- a/rwhod/rwhod.c
|
--- a/rwhod/rwhod.c
|
||||||
+++ b/rwhod/rwhod.c
|
+++ b/rwhod/rwhod.c
|
||||||
@@ -76,6 +76,7 @@ char rcsid[] =
|
@@ -76,6 +76,7 @@ char rcsid[] =
|
||||||
@@ -66,6 +60,13 @@ index 54498d0..40cabcf 100644
|
|||||||
/*
|
/*
|
||||||
* Taken from:
|
* Taken from:
|
||||||
*
|
*
|
||||||
--
|
--- a/include/protocols/rwhod.h
|
||||||
2.14.1
|
+++ b/include/protocols/rwhod.h
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
#ifndef _RWHOD_H_
|
||||||
|
#define _RWHOD_H_
|
||||||
|
|
||||||
|
+#include <stdint.h>
|
||||||
|
/*
|
||||||
|
* rwho protocol packet format.
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user