Bug#916231: Including sys/ioctl.h helps

2018-12-26 Thread Ralf Jung
Hi Sergei, thanks a lot! At least it still builds here, so I just made an upload with this fix. Kind regards, Ralf On 25.12.18 12:34, Sergei Golovan wrote: > Hey Ralf, > > Including sys/ioctl.h into ossp.h doesn't help as it is included into > osspd.c too late (sys/socket.h already did harm

Bug#916231: Including sys/ioctl.h helps

2018-12-25 Thread Sergei Golovan
Hey Ralf, Including sys/ioctl.h into ossp.h doesn't help as it is included into osspd.c too late (sys/socket.h already did harm by undefining IOC_IN and IOC_OUT). But including sys/ioctl.h directly into osspd.c before sys/socket.h works. Here is a possible patch: --- a/osspd.c +++ b/osspd.c @@