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

@@ -17,16 +17,15 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2015 Gary Mills
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * DESCRIPTION: Contains the top level shim hook functions. These must have
  *              identical interfaces to the equivalent standard dbm calls.
  *
  *              Unfortunately many of these will do a copy of a datum structure

@@ -49,10 +48,11 @@
 #include <strings.h>
 #include "ypsym.h"
 #include "ypdefs.h"
 #include "shim.h"
 #include "yptol.h"
+#include "stubs.h"
 #include "../ldap_parse.h"
 #include "../ldap_util.h"
 
 /*
  * Globals