[brlcad-commits] SF.net SVN: brlcad: [30434] brlcad/trunk/include/fb.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-02-27 06:32:44
|
Revision: 30434 http://brlcad.svn.sourceforge.net/brlcad/?rev=30434&view=rev Author: brlcad Date: 2008-02-26 22:31:21 -0800 (Tue, 26 Feb 2008) Log Message: ----------- looks like unistd.h is actually not needed any more Modified Paths: -------------- brlcad/trunk/include/fb.h Modified: brlcad/trunk/include/fb.h =================================================================== --- brlcad/trunk/include/fb.h 2008-02-26 22:38:30 UTC (rev 30433) +++ brlcad/trunk/include/fb.h 2008-02-27 06:31:21 UTC (rev 30434) @@ -21,7 +21,7 @@ /** @{ */ /** @file fb.h * @brief - * BRL "Generic" Framebuffer Library Interface Defines. + * "Generic" Framebuffer Library Interface Defines. * * This is the file that application programs should include for framebuffer support * @@ -30,8 +30,7 @@ #ifndef __FB_H__ #define __FB_H__ -#include "fbio.h" -#include "bu.h" +#include <stdlib.h> /* * Needed for fd_set, avoid including sys/select.h outright since it @@ -46,15 +45,11 @@ #if defined(HAVE_SYS_TIME_H) # include <sys/time.h> #endif -#if defined(HAVE_UNISTD_H) -# include <unistd.h> -#else -# if defined(HAVE_SYS_UNISTD_H) -# include <sys/unistd.h> -# endif -#endif +#include "fbio.h" +#include "bu.h" + /* Library entry points which are macros. */ #define fb_gettype(_ifp) (_ifp->if_type) #define fb_getwidth(_ifp) (_ifp->if_width) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |