]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
fix the last commit up to compile
authorRay Strode <rstrode@redhat.com>
Mon, 14 May 2007 19:28:10 +0000 (15:28 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 14 May 2007 19:28:10 +0000 (15:28 -0400)
src/ply-utils.c
src/ply-utils.h

index 81268b437b5cc41e75d36008fc8239407b35655e..38b2d722f22837f9059139c4033eff036829b729 100644 (file)
@@ -2,11 +2,16 @@
 
 #include "ply-utils.h"
 
+#include <assert.h>
+#include <fcntl.h>
+#include <stdlib.h>
+#include <sys/types.h>
+
 bool 
 ply_open_unidirectional_pipe (int *sender_fd,
                               int *receiver_fd)
 {
-  init pipe_fds[2];
+  int pipe_fds[2];
 
   assert (sender_fd != NULL);
   assert (receiver_fd != NULL);
index 3d7925ac5df5935f39bd2f517ca67cf1c4263772..6c21c8e1145e670f9a22333b2a4e025ba50d39a9 100644 (file)
@@ -23,6 +23,7 @@
 #define PLY_UTILS_H
 
 #include <stdint.h>
+#include <stdbool.h>
 
 #ifndef MIN
 #define MIN(a,b) ((a) <= (b)? (a) : (b))