[seed] Only include libutil.h on FreeBSD (util.h on OpenBSD, nothing on Linux)



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]