tfix ifdef - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 769eb1988ad555915a8069a2650d6d7c887a3a6b
(DIR) parent 0613fe4b84dff47013d2e97345d6c26b0f4a9ef3
(HTM) 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(-)
---
(DIR) diff --git a/src/cmd/venti/srv/part.c b/src/cmd/venti/srv/part.c
t@@ -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>