+/* $OpenLDAP$ */
/*
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
#include <ac/stdlib.h>
+#include <ac/param.h>
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/time.h>
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
#include "ldap-int.h"
void
ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable )
{
- short *optionsp;
+ unsigned short *optionsp;
optionsp = ( entry == NULL ) ? &ld->ld_lberoptions :
&entry->lm_ber->ber_options;