]> granicus.if.org Git - ngircd/commit
Define EV_SET() for kqueue() on systems that don't have it
authorAlexander Barton <alex@barton.de>
Tue, 4 Sep 2012 21:28:32 +0000 (23:28 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 4 Sep 2012 21:28:32 +0000 (23:28 +0200)
commitd2d867ea36b57c594546c5486aa8c2d4ef199af0
tree6a120a384526747b23ffd2ee3bb8ea695aeb578a
parentb232ae2f1727cfa8ae9106f0d65fc4cebe3a9d40
Define EV_SET() for kqueue() on systems that don't have it

Some systems, notably FreeBSD 4.x, do have the kqueue() function but
lack the definition of EV_SET() in their header files -- but don't
worry, we can #define it on our own ;-)

Definition taken from /usr/include/sys/event.h of FreeBSD 8.1.
Patch tested on FreeBSD 4.1 by Götz Hoffart. Thanks!
src/ngircd/io.c