[QGIS Commit] r14146 - trunk/qgis/src/plugins/grass/qtermwidget

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Aug 24 20:08:41 EDT 2010


Author: jef
Date: 2010-08-25 00:08:41 +0000 (Wed, 25 Aug 2010)
New Revision: 14146

Modified:
   trunk/qgis/src/plugins/grass/qtermwidget/kpty.cpp
Log:
fix kpty on BSD (#2021)

Modified: trunk/qgis/src/plugins/grass/qtermwidget/kpty.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qtermwidget/kpty.cpp	2010-08-24 20:31:04 UTC (rev 14145)
+++ trunk/qgis/src/plugins/grass/qtermwidget/kpty.cpp	2010-08-25 00:08:41 UTC (rev 14146)
@@ -45,6 +45,11 @@
 #  endif
 #endif
 
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+#define HAVE_LOGIN
+#define HAVE_LIBUTIL_H
+#endif
+
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>



More information about the QGIS-commit mailing list