lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1731 - nss-pam-ldapd/nslcd

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

nss-pam-ldapd commit: r1731 - nss-pam-ldapd/nslcd



Author: arthur
Date: Mon Jul 23 23:52:36 2012
New Revision: 1731
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1731&view=revision

Log:
ensure that all places where stdint.h is included it is surrounded by #ifdefs

Modified:
   nss-pam-ldapd/nslcd/protocol.c
   nss-pam-ldapd/nslcd/rpc.c
   nss-pam-ldapd/nslcd/service.c

Modified: nss-pam-ldapd/nslcd/protocol.c
==============================================================================
--- nss-pam-ldapd/nslcd/protocol.c      Mon Jul 23 23:16:54 2012        (r1730)
+++ nss-pam-ldapd/nslcd/protocol.c      Mon Jul 23 23:52:36 2012        (r1731)
@@ -28,7 +28,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif /* HAVE_STDINT_H */
 
 #include "common.h"
 #include "log.h"

Modified: nss-pam-ldapd/nslcd/rpc.c
==============================================================================
--- nss-pam-ldapd/nslcd/rpc.c   Mon Jul 23 23:16:54 2012        (r1730)
+++ nss-pam-ldapd/nslcd/rpc.c   Mon Jul 23 23:52:36 2012        (r1731)
@@ -28,7 +28,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif /* HAVE_STDINT_H */
 
 #include "common.h"
 #include "log.h"

Modified: nss-pam-ldapd/nslcd/service.c
==============================================================================
--- nss-pam-ldapd/nslcd/service.c       Mon Jul 23 23:16:54 2012        (r1730)
+++ nss-pam-ldapd/nslcd/service.c       Mon Jul 23 23:52:36 2012        (r1731)
@@ -28,7 +28,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif /* HAVE_STDINT_H */
 
 #include "common.h"
 #include "log.h"
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/