summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */