mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 07:13:41 -05:00
Cleanup Windows build
Fix make depend errors in slapi
This commit is contained in:
parent
de89b06b03
commit
3489931553
2 changed files with 7 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ LIBRARY = libslapi.la
|
|||
#all-common: $(LIBRARY) $(PROGRAMS)
|
||||
# @touch plugin.c slapi_pblock.c slapi_utils.c slapi_ops.c slapi_ext.c
|
||||
|
||||
NT_SRCS = nt_err.c
|
||||
NT_SRCS = $(top_srcdir)/libraries/liblber/nt_err.c
|
||||
NT_OBJS = nt_err.lo
|
||||
|
||||
LIB_DEFS = -DSLAPI_LIBRARY
|
||||
|
|
|
|||
|
|
@ -31,7 +31,11 @@
|
|||
#include <slap.h>
|
||||
#include <slapi.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
#ifdef LDAP_SLAPI
|
||||
|
||||
|
|
@ -1971,6 +1975,8 @@ slapi_timer_current_time( void )
|
|||
*/
|
||||
#else /* _WIN32 */
|
||||
LARGE_INTEGER now;
|
||||
static LARGE_INTEGER base_time, performance_freq;
|
||||
static int performance_counter_present;
|
||||
|
||||
if ( first_time ) {
|
||||
first_time = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue