Re: [libvirt] Re: [PATCH] lxc: loop in tty forwarding process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Veillard <veillard@xxxxxxxxxx> wrote:
> On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
>   Sounds fine in principle but i have a couple of questions with the patch
>
>> +#include <stdbool.h>
>
>   err ... what is that ? looks like a linux specific header, do we really
> need this ? epoll is linux specific I think but  #include <sys/epoll.h>
> should be sufficient no ?

<stdbool.h> is not Linux specific.
It's the C99-specified header that provides e.g,. the "bool" type.

Good C code has been able to use the "bool" type portably (at least
through autoconf/gnulib-provided insulation) for many years.
These days you rarely need the compatibility shims,
since nearly everyone has a c99-compliant compiler.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]