mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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…
Reference in a new issue