Print this page
5910 libnisdb won't build with modern GCC

*** 18,33 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 2001 by Sun Microsystems, Inc. * All rights reserved. */ - #pragma ident "%Z%%M% %I% %E% SMI" - #include <string.h> #include <sys/syslog.h> #include <sys/types.h> #include <rpc/types.h> #include <rpc/xdr.h> --- 18,32 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2015 Gary Mills * Copyright (c) 2001 by Sun Microsystems, Inc. * All rights reserved. */ #include <string.h> #include <sys/syslog.h> #include <sys/types.h> #include <rpc/types.h> #include <rpc/xdr.h>
*** 36,46 **** #include "db_mindex_c.h" #include "ldap_xdr.h" #include "ldap_util.h" ! extern bool_t xdr_nis_object(); /* * In order not to change the on-disk NIS+ DB format, we need make sure * that XDR does nothing for the new structures added to various C++ * classes. --- 35,45 ---- #include "db_mindex_c.h" #include "ldap_xdr.h" #include "ldap_util.h" ! #include "nis_clnt.h" /* * In order not to change the on-disk NIS+ DB format, we need make sure * that XDR does nothing for the new structures added to various C++ * classes.