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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/db_index_c.x
          +++ new/usr/src/lib/libnisdb/db_index_c.x
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   *      db_index_c.x
  23   23   *
       24 + *  Copyright 2015 Gary Mills
  24   25   *  Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25   26   *  Use is subject to license terms.
  26   27   */
  27   28  
       29 +#if RPC_XDR
       30 +%#include "ldap_xdr.h"
       31 +#endif /* RPC_XDR */
       32 +
  28   33  #if RPC_HDR
  29   34  %#ifndef _DB_INDEX_H
  30   35  %#define _DB_INDEX_H
  31   36  
  32   37  %
  33   38  %/* db_index is a hash table with separate overflow buckets. */
  34   39  %
  35   40  
  36   41  
  37   42  #ifdef USINGC
↓ open down ↓ 127 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX