mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 02:28:19 +02:00
fix the last commit up to compile
This commit is contained in:
parent
9ec699290d
commit
043a5ee2c7
2 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
#define PLY_UTILS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) ((a) <= (b)? (a) : (b))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue