diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-02-25 22:22:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-02-25 22:22:45 -0800 |
| commit | dd63f4c1098fc3d69ab16cc5c3efe9b56c36bd9d (patch) | |
| tree | 4c2dd2a55dbc76f60aff425139082a0955619dec /include/linux/nfsd | |
| parent | 31079ce2c086dd913350963c6956c0812b368dbf (diff) | |
[PATCH] PATCH 1/16: NFSD: Compilation Fix
Fix include file so syscall compiles when NFSD not configured
Diffstat (limited to 'include/linux/nfsd')
| -rw-r--r-- | include/linux/nfsd/interface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/nfsd/interface.h b/include/linux/nfsd/interface.h index 807a4fc6c5f5..80c65165778d 100644 --- a/include/linux/nfsd/interface.h +++ b/include/linux/nfsd/interface.h @@ -12,7 +12,8 @@ #include <linux/config.h> -#ifdef CONFIG_NFSD_MODULE +#ifndef CONFIG_NFSD +#ifdef CONFIG_MODULES extern struct nfsd_linkage { long (*do_nfsservctl)(int cmd, void *argp, void *resp); @@ -20,5 +21,6 @@ extern struct nfsd_linkage { } * nfsd_linkage; #endif +#endif #endif /* LINUX_NFSD_INTERFACE_H */ |
