lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1955 - nss-pam-ldapd-0.8/tests

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1955 - nss-pam-ldapd-0.8/tests



Author: arthur
Date: Sun May  5 12:59:40 2013
New Revision: 1955
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1955&view=revision

Log:
support systems without ETIME (5e0bb05 from 0.9)

Modified:
   nss-pam-ldapd-0.8/tests/test_tio.c

Modified: nss-pam-ldapd-0.8/tests/test_tio.c
==============================================================================
--- nss-pam-ldapd-0.8/tests/test_tio.c  Sun May  5 12:55:52 2013        (r1954)
+++ nss-pam-ldapd-0.8/tests/test_tio.c  Sun May  5 12:59:40 2013        (r1955)
@@ -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 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/