More missing system includes for size_t & friends
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 28 Jan 2008 11:43:32 +0000 (13:43 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 28 Jan 2008 11:43:32 +0000 (13:43 +0200)
lib/rpmps.h
rpmio/argv.h
rpmio/rpmlog.h
rpmio/rpmmacro.h
rpmio/rpmstring.h
rpmio/rpmsw.h

index 1d53d58..ca60059 100644 (file)
@@ -6,6 +6,7 @@
  * Structures and prototypes used for an "rpmps" problem set.
  */
 
+#include <stdio.h>
 #include <rpm/rpmcallback.h>   /* for fnpyKey */
 
 #ifdef __cplusplus
index eb051d6..18951c8 100644 (file)
@@ -5,6 +5,8 @@
  * \file rpmio/argv.h
  */
 
+#include <stdio.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3a3dc7b..d3f42ac 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <stdarg.h>
+#include <stdio.h>
 
 #ifdef __cplusplus
 extern "C" {
index 0cd25eb..802fd4b 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <stddef.h>
 
 #ifdef __cplusplus
 extern "C" {
index a26a90f..9109137 100644 (file)
@@ -6,6 +6,8 @@
  * String manipulation helper functions
  */
 
+#include <stddef.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 624448a..7c285e7 100644 (file)
@@ -5,6 +5,9 @@
  * \file rpmio/rpmsw.h
  */
 
+#include <unistd.h>
+#include <sys/time.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif