includes - Shift inclusion of sys/event.h from sys/file.h
commit442e7c7667f3cf6e373be0d337bd0bc2936796c4
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 25 Jan 2010 23:39:37 +0000 (25 15:39 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 25 Jan 2010 23:39:37 +0000 (25 15:39 -0800)
tree8d62908aa2f756453144691f2075547f540671dd
parentf1792b378655a2d05b1a82918aeede497c61c9b7
includes - Shift inclusion of sys/event.h from sys/file.h

* sys/file.h was including sys/event.h for struct klist, but
  only the kernle needs it.  Shift the inclusion from outside
  to inside the _KERNEL conditional.

* Should fix the pkgsrc build of databases/db4 and databases/db46.

Reported-by: Goetz Isenmann <g.isenmann@science-computing.de>
sys/sys/file.h