Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
1cadf3d0
Commit
1cadf3d0
authored
Jun 25, 2019
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jun 25, 2019
Browse files
ITS#9041 - Cleanup limits in cyrus.c
parent
c064d45c
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/cyrus.c
View file @
1cadf3d0
...
...
@@ -15,6 +15,8 @@
#include "portable.h"
#ifdef HAVE_CYRUS_SASL
#include <stdio.h>
#include <ac/socket.h>
...
...
@@ -31,16 +33,14 @@
#include "ldap-int.h"
#ifdef HAVE_CYRUS_SASL
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifndef INT_MAX
#define INT_MAX 2147483647
/* 32 bit signed max */
#endif
#if !defined(HOST_NAME_MAX) && defined(_POSIX_HOST_NAME_MAX)
#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
#endif
#ifdef HAVE_SASL_SASL_H
#include <sasl/sasl.h>
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment