HsUnixCompat.hs on Debian

Just so that a others (hopefully) will be spared the annoying and time-consuming work of tracking down the source of the following error message:

* Missing header file: HsUnixCompat.h

On my Debian system (Debian 5.0.3 – “Lenny”) the missing package was libbsd-dev:

$ cabal unpack unix-compat
Unpacking unix-compat-
$ cd unix-compat-
$ runhaskell Setup.lhs configure -v3

/usr/bin/gcc returned ExitFailure 1 with error message:
In file included from include/HsUnixCompat.h:1,
from /tmp/18515.c:1:
/usr/lib/ghc-6.10.4/unix- error: libutil.h: No such file or directory
$ apt-file search libutil.h
libbsd-dev: /usr/include/libutil.h