Skip to content

Commit dd614ec

Browse files
author
jef
committed
fix kpty on BSD (#2021)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14146 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4d0c928 commit dd614ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plugins/grass/qtermwidget/kpty.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
# endif
4646
#endif
4747

48+
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
49+
#define HAVE_LOGIN
50+
#define HAVE_LIBUTIL_H
51+
#endif
52+
4853
#include <sys/types.h>
4954
#include <sys/ioctl.h>
5055
#include <sys/time.h>

0 commit comments

Comments
 (0)