From 5efa36f87b22bd52e34a78c02b85123cc493bcd0 Mon Sep 17 00:00:00 2001
From: Alexander von Gluck IV <kallisti5@unixzen.com>
Date: Thu, 23 Oct 2014 18:35:32 +0000
Subject: Haiku: Add strings.h for strcasecmp


diff --git a/src/V3Error.cpp b/src/V3Error.cpp
index b12f5b8..4c0c090 100644
--- a/src/V3Error.cpp
+++ b/src/V3Error.cpp
@@ -21,6 +21,7 @@
 #include <cstdio>
 #include <cstdarg>
 #include <cstring>
+#include <strings.h>
 #include <set>
 #include "V3Error.h"
 #ifndef _V3ERROR_NO_GLOBAL_
diff --git a/src/V3Options.cpp b/src/V3Options.cpp
index 11dc0a9..8de652f 100644
--- a/src/V3Options.cpp
+++ b/src/V3Options.cpp
@@ -29,6 +29,7 @@
 #include <dirent.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <strings.h>
 #include <set>
 #include <list>
 #include <map>
-- 
2.16.4


From 473b5567b0202da9d4c72766a6dfa66c25273aa5 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 7 Jul 2018 17:45:04 +0200
Subject: fix path for pkg-config


diff --git a/verilator.pc.in b/verilator.pc.in
index 2b3ba70..c8aef2b 100644
--- a/verilator.pc.in
+++ b/verilator.pc.in
@@ -2,7 +2,7 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 datarootdir=@datarootdir@
-includedir=@pkgdatadir@/include
+includedir=@includedir@
 
 Name: verilator
 Description: fast free Verilog simulator
-- 
2.16.4

