File librtas.header-compile.patch of Package librtas
Bug 439321 - /usr/include/librtas.h cannot compile on its own
Bug 439327 - /usr/include/librtasevent_v4.h and /usr/include/librtasevent_v6.h cannot compile on their own
---
librtas_src/librtas.h | 1 +
librtasevent_src/librtasevent_v4.h | 1 +
librtasevent_src/librtasevent_v6.h | 1 +
3 files changed, 3 insertions(+)
--- a/librtas_src/librtas.h
+++ b/librtas_src/librtas.h
@@ -10,6 +10,7 @@
#ifndef _LIBRTAS_H_
#define _LIBRTAS_H_
+#include <sys/types.h>
#include <stdint.h>
#define RTAS_KERNEL_INT -1001 /* No Kernel Interface to Firmware */
--- a/librtasevent_src/librtasevent_v4.h
+++ b/librtasevent_src/librtasevent_v4.h
@@ -11,6 +11,7 @@
#ifndef _H_RTAS_EVENT_HDRS
#define _H_RTAS_EVENT_HDRS
+#include <librtasevent.h>
#include <inttypes.h>
#define RE_V4_SCN_SZ 28
--- a/librtasevent_src/librtasevent_v6.h
+++ b/librtasevent_src/librtasevent_v6.h
@@ -11,6 +11,7 @@
#ifndef _H_RE_V6_RTAS_EVENT
#define _H_RE_V6_RTAS_EVENT
+#include <librtasevent.h>
#include <inttypes.h>
/**