summaryrefslogtreecommitdiff
path: root/mount/debian/patches/fssnapsup.c.patch
blob: ebdac95c77ec4b568140fdf8f2d0a28fb119ff06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: missing prototypes for malloc() and localtime()
Index: mount/usr/src/cmd/fs.d/fssnapsup.c
===================================================================
--- mount.orig/usr/src/cmd/fs.d/fssnapsup.c	2012-10-08 00:25:23.000000000 +0000
+++ mount/usr/src/cmd/fs.d/fssnapsup.c	2013-02-10 04:17:57.458227370 +0000
@@ -31,7 +31,9 @@
  * the real fssnap command.
  */
 
+#include <stdlib.h>
 #include <stdio.h>
+#include <time.h>
 #include <kstat.h>
 #include <libintl.h>
 #include <sys/fssnap_if.h>