summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools-devel/files/patch-knowndrives.c
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-11-01 02:57:51 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-11-01 02:57:51 +0000
commit55e0a4a8d618d0bef01a44b06c73122753f3b643 (patch)
tree10a1d28db1448c1aec2db700c3f33d3873581ad7 /sysutils/smartmontools-devel/files/patch-knowndrives.c
parent* Sync with the master port (diff)
Unbreak build on 4-STABLE and 5.1-RELEASE. Add a warning which states
that 5.1-CURRENT is required in order to monitor ATA devices.
Notes
Notes: svn path=/head/; revision=92765
Diffstat (limited to 'sysutils/smartmontools-devel/files/patch-knowndrives.c')
-rw-r--r--sysutils/smartmontools-devel/files/patch-knowndrives.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/smartmontools-devel/files/patch-knowndrives.c b/sysutils/smartmontools-devel/files/patch-knowndrives.c
new file mode 100644
index 000000000000..31472c3a0a57
--- /dev/null
+++ b/sysutils/smartmontools-devel/files/patch-knowndrives.c
@@ -0,0 +1,10 @@
+--- knowndrives.c.orig Sat Nov 1 02:33:08 2003
++++ knowndrives.c Sat Nov 1 02:33:20 2003
+@@ -17,6 +17,7 @@
+ *
+ */
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <regex.h>
+ #include "atacmds.h"