Skip to content

Commit

Permalink
multipathd/fpin_handlers.c: include stdint.h
Browse files Browse the repository at this point in the history
Include stdint.h to avoid the following build failure since version
0.8.9 and commit cfff03e:

In file included from /nvmedata/autobuild/instance-7/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/scsi/scsi_netlink_fc.h:25,
                 from fpin_handlers.c:6:
/nvmedata/autobuild/instance-7/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/scsi/scsi_netlink.h:44:2: error: unknown type name 'uint8_t'
   44 |  uint8_t version;
      |  ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/32f4ada6c49261924ca78f62dee43241bda379a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
  • Loading branch information
ffontaine authored and mwilck committed May 31, 2022
1 parent 7439a41 commit 63aa47d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions multipathd/fpin_handlers.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <errno.h>
#include <unistd.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <libudev.h>
Expand Down

0 comments on commit 63aa47d

Please sign in to comment.