Revision: 41047
http://brlcad.svn.sourceforge.net/brlcad/?rev=41047&view=rev
Author: brlcad
Date: 2010-10-18 17:24:49 +0000 (Mon, 18 Oct 2010)
Log Message:
-----------
windows compat -- check HAVE_SYS_IOCTL_H before including it.
Modified Paths:
--------------
brlcad/trunk/src/libcursor/cursor.c
Modified: brlcad/trunk/src/libcursor/cursor.c
===================================================================
--- brlcad/trunk/src/libcursor/cursor.c 2010-10-18 17:20:14 UTC (rev 41046)
+++ brlcad/trunk/src/libcursor/cursor.c 2010-10-18 17:24:49 UTC (rev 41047)
@@ -51,7 +51,9 @@
# endif
#endif
-#include <sys/ioctl.h>
+#ifdef HAVE_SYS_IOCTL_H
+# include <sys/ioctl.h>
+#endif
#define _winsize winsize /* For compat with _ioctl.h. */
#define TBUFSIZ 1024
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits