Skip to content

Commit

Permalink
fix kpty on BSD (#2021)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14146 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 25, 2010
1 parent 4d0c928 commit dd614ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/grass/qtermwidget/kpty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit dd614ec

Please sign in to comment.