patches to build on BSD by Christopher VdoP

This commit is contained in:
Petr Vanek
2010-10-18 20:49:53 +02:00
parent 520661ab6f
commit b5a79e17aa
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -24,6 +24,12 @@
#include "kpty_p.h"
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#define HAVE_LOGIN
#define HAVE_LIBUTIL_H
#endif
#ifdef __sgi
#define __svr4__
#endif
+2 -2
View File
@@ -41,8 +41,8 @@ set ( CMAKE_BUILD_TYPE
)
#| Link Qt4 Libraries
target_link_libraries ( test ${QT_LIBRARIES} )
target_link_libraries ( test ${QT_LIBRARIES} util )
#| Link qtermwidget Library
target_link_libraries ( test ${QTERMWIDGET_LIB} )
target_link_libraries ( test ${QTERMWIDGET_LIB} util )