mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-09-25 14:42:39 +01:00
Fix NetBSD case.
NetBSD provides util.h, not libutil.
This commit is contained in:
@@ -25,9 +25,12 @@
|
|||||||
#include "kpty_p.h"
|
#include "kpty_p.h"
|
||||||
|
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
#define HAVE_LOGIN
|
#define HAVE_LOGIN
|
||||||
#define HAVE_LIBUTIL_H
|
#define HAVE_LIBUTIL_H
|
||||||
|
#elif defined(__NetBSD__)
|
||||||
|
#define HAVE_LOGIN
|
||||||
|
#define HAVE_UTIL_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __sgi
|
#ifdef __sgi
|
||||||
|
Reference in New Issue
Block a user