Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: src/tcsd/platform.c

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/tcsd/Makefile.am ('k') | src/tcsd/svrside.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tcsd/platform.c
diff --git a/src/tcsd/platform.c b/src/tcsd/platform.c
index 6873918a9d3d463b7c0c3f94083125d93d06aa98..c7a1c804b88485d34d845206e3c8a31d69cf681d 100644
--- a/src/tcsd/platform.c
+++ b/src/tcsd/platform.c
@@ -13,7 +13,7 @@
#include <sys/param.h>
#include <sys/sysctl.h>
#include <err.h>
-#elif (defined (__linux) || defined (linux))
+#elif (defined (__linux) || defined (linux) || defined(__GLIBC__))
#include <utmp.h>
#elif (defined (SOLARIS))
#include <utmpx.h>
@@ -33,7 +33,7 @@
#include "tcslog.h"
-#if (defined (__linux) || defined (linux))
+#if (defined (__linux) || defined (linux) || defined(__GLIBC__))
MUTEX_DECLARE_INIT(utmp_lock);
char
« no previous file with comments | « src/tcsd/Makefile.am ('k') | src/tcsd/svrside.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698