lkml.org 
[lkml]   [1997]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectNFSD as module in 2.1.33 with GlibC
  I've found a problem when compiling 2.1.33 with kernel nfsd as a module on a system with the GlibC header files installed.  Here's the patch I needed to get it to compile.  I assume that as removing the netinet/in.h header file didn't generate errors or warnings it didn't do any harm...


*** linux/fs/nfsd/vfs.c.orig Sun Apr 13 15:47:42 1997
--- linux/fs/nfsd/vfs.c Sun Apr 13 15:47:52 1997
***************
*** 29,35 ****
#include <linux/in.h>
#include <linux/unistd.h>
#include <linux/malloc.h>
! #include <netinet/in.h>

#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
--- 29,35 ----
#include <linux/in.h>
#include <linux/unistd.h>
#include <linux/malloc.h>
! /*#include <netinet/in.h>*/

#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.994 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site