commit | b45c4cb9f04bf295411c420c1ac05a0dd42e5e74 | [log] [tgz] |
---|---|---|
author | Chris Austen <austenc@us.ibm.com> | Sun Nov 01 06:34:56 2015 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Sun Nov 01 06:34:56 2015 -0600 |
tree | d8b31b599628ec2ff8df2d9841ab13079373e6d2 | |
parent | 7bb1b15e20087ff630da97acd48eba3cb958734c [diff] [blame] |
Fix compile and linker problems
diff --git a/writefrudata.C b/writefrudata.C index 30ba39a..153ac93 100644 --- a/writefrudata.C +++ b/writefrudata.C
@@ -1,4 +1,4 @@ -#include <ipmid-api.h> +#include <host-ipmid/ipmid-api.h> #include <vector> #include <stdlib.h> #include <dlfcn.h> @@ -7,6 +7,8 @@ #include "frup.h" #include "writefrudata.H" #include <systemd/sd-bus.h> +#include <unistd.h> + void register_netfn_storage_write_fru() __attribute__((constructor));