summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-12-02 19:50:42 +0000
committerRoland McGrath <roland@gnu.org>1999-12-02 19:50:42 +0000
commit50a25edf0180f5f973bf1d09bc14cfd545af1629 (patch)
treea3af24e35a207ab0ac32434a89083ec73c393362
parentcc82f6fa89afc964243ccbac94af872425392ec6 (diff)
downloadglibc-50a25edf0180f5f973bf1d09bc14cfd545af1629.tar.gz
glibc-50a25edf0180f5f973bf1d09bc14cfd545af1629.tar.xz
glibc-50a25edf0180f5f973bf1d09bc14cfd545af1629.zip
1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
	* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
	Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
	We don't install this file for users.
	* sysdeps/mach/hurd/Dist: Add it.
	* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
	Append nfs/nfs.h here.
-rw-r--r--sysdeps/mach/hurd/Dist1
-rw-r--r--sysdeps/mach/hurd/Makefile4
-rw-r--r--sysdeps/mach/hurd/nfs/nfs.h32
3 files changed, 37 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Dist b/sysdeps/mach/hurd/Dist
index 95f2a33555..71729fd49e 100644
--- a/sysdeps/mach/hurd/Dist
+++ b/sysdeps/mach/hurd/Dist
@@ -12,4 +12,5 @@ net/if_arp.h
 net/if_ether.h
 net/if_ppp.h
 net/route.h
+nfs/nfs.h
 siglist.h
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index b18f9f100e..ea887674db 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -187,4 +187,8 @@ ifeq (posix, $(subdir))
 sysdep_routines += clk_tck
 endif
 
+ifeq ($(subdir),sunrpc)
+sysdep_headers += nfs/nfs.h
+endif
+
 endif	# in-Makerules
diff --git a/sysdeps/mach/hurd/nfs/nfs.h b/sysdeps/mach/hurd/nfs/nfs.h
new file mode 100644
index 0000000000..10efc909f8
--- /dev/null
+++ b/sysdeps/mach/hurd/nfs/nfs.h
@@ -0,0 +1,32 @@
+/* <nfs/nfs.h> -- ill-specified NFS-related definitions
+   Copyright (C) 1999 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _NFS_NFS_H
+#define _NFS_NFS_H 1
+
+/* This file is empty for now.  Its contents do not seem to be
+   standardized in any way.  It exists solely for the sake of
+   <rpcsvc/bootparam_prot.h> which insists on including <nfs/nfs.h>.
+
+   For the time being, we just provide this file here to smooth building
+   the libc distribution (i.e. librpcsvc).  We do not install this file for
+   users, since we haven't really figured out what the right thing to go
+   here is.  */
+
+#endif /* nfs/nfs.h */