haskell/cabal — pull request #1436 by 23Skidoo (2013-08-25 00:29:14+00:00)
Title: Force-include 'cabal_macros.h' when compiling C sources.

When compiling c-sources, GHC is now passed '-optc-include
-optc/path/to/cabal_macros.h'. Note that '-optP-include' (which is used when
compiling Haskell sources) doesn't work for this case.

Fixes #1434.