]> err.no Git - systemd/commitdiff
scsi_id: include sys/stat.h
authorThomas Koeller <thomas@koeller.dyndns.org>
Mon, 7 Jul 2008 22:12:02 +0000 (00:12 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 9 Jul 2008 22:08:32 +0000 (00:08 +0200)
I could not build scsi_id because of a missing #include
for sys/stat.h, so I had to add that.

Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
extras/scsi_id/scsi_serial.c

index 7f756954e20e68fa142cc06f65cc7c92fd2922f1..8f160306bd56529fa7f08bad7e7c2a55abeb1ece 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>