Date: Sun, 31 Jan 1999 22:56:40 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: abdelm2@rpi.edu (Mohamed Abdel-Aal) Cc: freebsd-net@FreeBSD.ORG Subject: Re: Rebuilding kernel after modifying source code Message-ID: <199902010656.WAA25865@bubba.whistle.com> In-Reply-To: <36B4FF4A.E35BEF66@rpi.edu> from Mohamed Abdel-Aal at "Jan 31, 99 08:11:38 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Mohamed Abdel-Aal writes: > I am doing some TCP experiments which require modifying the source code. > I added few simple file I/O commands to netinet/tcp_timer.c ; which > required me to include stdio.h. While rebuilding the kernel, I got some You shouldn't include stdio.h for kernel code, because most of that stuff is invalid (ie, not available) in the kernel. If you need certain definitions, etc., you're probably better off copying the stuff you need into a separate (new) header file. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902010656.WAA25865>