fix ifdef
This commit is contained in:
parent
0613fe4b84
commit
769eb1988a
1 changed files with 10 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue