fix ifdef

This commit is contained in:
rsc 2005-07-20 19:00:03 +00:00
parent 0613fe4b84
commit 769eb1988a

View file

@ -1,13 +1,14 @@
#ifdef PLAN9PORT /* SORRY! */ #ifdef PLAN9PORT /* SORRY! */
#include <u.h> # include <u.h>
#include <sys/types.h> # include <sys/types.h>
#ifdef __linux__ /* REALLY SORRY! */ # ifdef __linux__ /* REALLY SORRY! */
#define CANBLOCKSIZE 1 # define CANBLOCKSIZE 1
#include <sys/vfs.h> # include <sys/vfs.h>
#elif defined(__FreeBSD__) # elif defined(__FreeBSD__)
#define CANBLOCKSIZE 1 # define CANBLOCKSIZE 1
#include <sys/param.h> # include <sys/param.h>
#include <sys/mount.h> # include <sys/mount.h>
# endif
#endif #endif
#include "stdinc.h" #include "stdinc.h"
#include <ctype.h> #include <ctype.h>