[seed] Only include libutil.h on FreeBSD (util.h on OpenBSD, nothing on Linux)
- From: Tim Horton <hortont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] Only include libutil.h on FreeBSD (util.h on OpenBSD, nothing on Linux)
- Date: Tue, 17 May 2011 04:50:14 +0000 (UTC)
commit 920b1d82a2282fdfea3a0d0358a51d3b23facc47
Author: Tim Horton <hortont424 gmail com>
Date: Tue May 17 00:46:42 2011 -0400
Only include libutil.h on FreeBSD (util.h on OpenBSD, nothing on Linux)
modules/os/seed-os.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/os/seed-os.c b/modules/os/seed-os.c
index 6ee73ac..998d3d6 100644
--- a/modules/os/seed-os.c
+++ b/modules/os/seed-os.c
@@ -38,7 +38,7 @@
#include <termios.h>
#if defined(__OpenBSD__)
#include <util.h>
-#else
+#elif defined(__FreeBSD__)
#include <libutil.h>
#endif
#include <unistd.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]