nss-pam-ldapd commit: r1915 - nss-pam-ldapd/tests
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1915 - nss-pam-ldapd/tests
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1915 - nss-pam-ldapd/tests
- Date: Mon, 14 Jan 2013 22:31:01 +0100 (CET)
Author: arthur
Date: Mon Jan 14 22:31:01 2013
New Revision: 1915
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1915&view=revision
Log:
support systems without ETIME
Modified:
nss-pam-ldapd/tests/test_tio.c
Modified: nss-pam-ldapd/tests/test_tio.c
==============================================================================
--- nss-pam-ldapd/tests/test_tio.c Mon Jan 14 22:24:23 2013 (r1914)
+++ nss-pam-ldapd/tests/test_tio.c Mon Jan 14 22:31:01 2013 (r1915)
@@ -2,7 +2,7 @@
test_tio.c - simple test for the tio module
This file is part of the nss-pam-ldapd library.
- Copyright (C) 2007, 2008, 2011, 2012 Arthur de Jong
+ Copyright (C) 2007, 2008, 2011, 2012, 2013 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,11 @@
#include "common/tio.h"
+/* for platforms that don't have ETIME use ETIMEDOUT */
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif /* ETIME */
+
/* structure for passing arguments to helper (is a thread) */
struct helper_args {
int fd;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1915 - nss-pam-ldapd/tests,
Commits of the nss-pam-ldapd project