Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Do not #include "/usr/include/arpa/tftp.h" dir...



details:   https://anonhg.NetBSD.org/src/rev/a637a899da81
branches:  trunk
changeset: 536466:a637a899da81
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 16 16:53:45 2002 +0000

description:
Do not #include "/usr/include/arpa/tftp.h" directly.  Doing so is
VERY BAD for cross-compiling.

diffstat:

 sys/lib/libsa/tftp.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 11eae40ccbcf -r a637a899da81 sys/lib/libsa/tftp.c
--- a/sys/lib/libsa/tftp.c      Mon Sep 16 16:50:59 2002 +0000
+++ b/sys/lib/libsa/tftp.c      Mon Sep 16 16:53:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tftp.c,v 1.10 2000/03/30 12:19:49 augustss Exp $        */
+/*     $NetBSD: tftp.c,v 1.11 2002/09/16 16:53:45 thorpej Exp $         */
 
 /*
  * Copyright (c) 1996
@@ -59,11 +59,7 @@
 #include <netinet/udp.h>
 #include <netinet/in_systm.h>
 #include <lib/libkern/libkern.h>
-#ifdef _STANDALONE
-#include "/usr/include/arpa/tftp.h" /* XXX */
-#else
 #include <arpa/tftp.h>
-#endif
 
 #include "stand.h"
 #include "net.h"



Home | Main Index | Thread Index | Old Index