https://bugs.kde.org/show_bug.cgi?id=365934
Elizabeth Myers <elizab...@interlinked.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |elizab...@interlinked.me --- Comment #4 from Elizabeth Myers <elizab...@interlinked.me> --- If I may throw my hat into the ring, the synopsis for the manual page for getpid(2) on Linux and FreeBSD both say that you should include both sys/types.h and unistd.h. Also, regarding BSD compatibility, I think it goes without saying even a non-programmer can tell including a linux/*.h header makes your code inherently incompatible :p. Input injection (which I presume is the goal here) is probably possible on FreeBSD in some way, but I am not entirely sure how to achieve it without research. In any case, assuming there is legitimate desire for BSD support, I believe sys/types.h is required on BSD for uid_t and gid_t (though the manpage for getpgid(2) implies pid_t should be found in unistd.h on BSD). -- You are receiving this mail because: You are watching all bug changes.