1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-02-20 20:09:14 +00:00

Fix NetBSD case.

NetBSD provides util.h, not libutil.
This commit is contained in:
Thomas Klausner 2014-08-12 22:23:29 +02:00
parent f7354e54dc
commit cad496b1fb

View File

@ -25,9 +25,12 @@
#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_LIBUTIL_H
#elif defined(__NetBSD__)
#define HAVE_LOGIN
#define HAVE_UTIL_H
#endif
#ifdef __sgi