File: fix-include-path.patch

package info (click to toggle)
rust-pq-sys 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: makefile: 2; ansic: 1
file content (9 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
--- a/src/make_bindings.rs
+++ b/src/make_bindings.rs
@@ -1,5 +1,6 @@
 /* keep in sync with the command in generate_bindings.sh */
 bindgen::Builder::default()
+    .clang_arg("-I/usr/include/postgresql")
     .rustified_enum(".*")
     .header("wrapper.h")
     .allowlist_var("PG_.*")