hasura / pg-client-hs

A low level Haskell library to connect to postgres
Apache License 2.0
25 stars 15 forks source link

fix build error about missing postgres-fe.h #21

Closed 0x777 closed 4 years ago

0x777 commented 4 years ago

Fixes this error on Arch Linux and macOS X

error: In file included from ExtraBindings.hsc:12:
cbits/libpq-bindings.h:1:10: fatal error: internal/postgres_fe.h: No such file or directory
    1 | #include <internal/postgres_fe.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.