KQueue.hsc: fix build failure on FreeBSD
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 9 Mar 2017 08:35:58 +0000 (08:35 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 9 Mar 2017 08:36:18 +0000 (08:36 +0000)
commit9e15db49b57df992184d342830ea830aabc626c9
treeff6b1ed22cd39db330da9e3b819ef5adce8f463c
parent87a2d37ca464ce87d39359807cd43706d89f3a0b
KQueue.hsc: fix build failure on FreeBSD

Build failed as:
  libraries/base/GHC/Event/KQueue.hsc:192:25: error:
      Not in scope: type constructor or class ‘Int16’
      |
  192 | newtype Filter = Filter Int16
      |                         ^^^^^

If was caused by an import tweak from Word16 to Int16.
Adjust imports to make KQueue compile cleanly.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: build on freebsd

Reviewers: bgamari, austin, hvr

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3300
libraries/base/GHC/Event/KQueue.hsc