blob: 1872ddc60b77522b2e6d9e7a96c9f6720aae1de5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Index: mount/usr/src/cmd/fs.d/preenlib.c
===================================================================
--- mount.orig/usr/src/cmd/fs.d/preenlib.c 2012-10-08 00:25:23.000000000 +0000
+++ mount/usr/src/cmd/fs.d/preenlib.c 2013-01-20 06:30:59.376226419 +0000
@@ -31,12 +31,16 @@
#include <stdio.h>
#include <fcntl.h>
#include <dlfcn.h>
-#include <macros.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/mntent.h>
#include <sys/dkio.h>
+#ifndef min
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#endif
+
/*
* data structures for parallelization
*/
|