summaryrefslogtreecommitdiff
path: root/nfs/mount.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-10-04 06:21:15 +0000
committerMiles Bader <miles@gnu.org>1996-10-04 06:21:15 +0000
commit9e657e87f7fd48c3b3989b047eae780c4b748f2d (patch)
treed63d0aec39f11e199ee60460cb01ea552c7fd009 /nfs/mount.c
parentfd91b45a7f75948ab760d89ee917485919b97c5d (diff)
Add hacks to avoid idiotic sun definitions of TRUE, FALSE, and malloc in
<rpc/types.h>.
Diffstat (limited to 'nfs/mount.c')
-rw-r--r--nfs/mount.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index b4115324..965d00a9 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -18,9 +18,11 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
-#include "nfs.h"
-
+#define malloc a_byte_for_every_bozotic_sun_lossage_and_youd_need_a_lotta_ram
#include <rpc/types.h>
+#undef TRUE /* Get rid of sun defs. */
+#undef FALSE
+#undef malloc
#include <rpc/pmap_prot.h>
#include <errno.h>
#include <sys/socket.h>
@@ -29,6 +31,7 @@
#include <netinet/in.h>
#include <stdio.h>
+#include "nfs.h"
#include "mount.h"
/* Service name for portmapper */