]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nis/nis_util.c
hurd: Fix build
[thirdparty/glibc.git] / nis / nis_util.c
index 79c27ecdb8572376a811df1c45e517bae61ca85c..fdce926e16a871e6d86fb369dc961b79067ca557 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 1997-2013 Free Software Foundation, Inc.
+/* Copyright (c) 1997-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997.
 
@@ -18,6 +18,7 @@
 
 #include <string.h>
 #include <rpcsvc/nis.h>
+#include <shlib-compat.h>
 
 #include "nis_xdr.h"
 #include "nis_intern.h"
@@ -45,7 +46,7 @@ __nis_finddirectory (directory_obj *dir, const_nis_name name)
 
   return fd_res;
 }
-libnsl_hidden_def (__nis_finddirectory)
+libnsl_hidden_nolink_def (__nis_finddirectory, GLIBC_2_1)
 
 /* The hash implementation is in a separate file.  */
 #include "nis_hash.c"