commit 769eb1988ad555915a8069a2650d6d7c887a3a6b parent 0613fe4b84dff47013d2e97345d6c26b0f4a9ef3 Author: rsc <devnull@localhost> Date: Wed, 20 Jul 2005 19:00:03 +0000 fix ifdef Diffstat:
M | src/cmd/venti/srv/part.c | | | 19 | ++++++++++--------- |
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/cmd/venti/srv/part.c b/src/cmd/venti/srv/part.c @@ -1,13 +1,14 @@ #ifdef PLAN9PORT /* SORRY! */ -#include <u.h> -#include <sys/types.h> -#ifdef __linux__ /* REALLY SORRY! */ -#define CANBLOCKSIZE 1 -#include <sys/vfs.h> -#elif defined(__FreeBSD__) -#define CANBLOCKSIZE 1 -#include <sys/param.h> -#include <sys/mount.h> +# include <u.h> +# include <sys/types.h> +# ifdef __linux__ /* REALLY SORRY! */ +# define CANBLOCKSIZE 1 +# include <sys/vfs.h> +# elif defined(__FreeBSD__) +# define CANBLOCKSIZE 1 +# include <sys/param.h> +# include <sys/mount.h> +# endif #endif #include "stdinc.h" #include <ctype.h>