From: Ted Lemon Date: Sat, 11 Jul 1998 00:36:04 +0000 (+0000) Subject: Include net/if_arp.h. Don't define INADDR_LOOPBACK if it's already defined. X-Git-Tag: V2-BETA-1-PATCH-7~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fe63af9ecfd30b0c1b476a2e4caf3e154dff72f;p=thirdparty%2Fdhcp.git Include net/if_arp.h. Don't define INADDR_LOOPBACK if it's already defined. --- diff --git a/includes/cf/freebsd.h b/includes/cf/freebsd.h index 965d33236..032d52c2b 100644 --- a/includes/cf/freebsd.h +++ b/includes/cf/freebsd.h @@ -3,7 +3,8 @@ System dependencies for FreeBSD... */ /* - * Copyright (c) 1996 The Internet Software Consortium. All rights reserved. + * Copyright (c) 1996, 1998 The Internet Software Consortium. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -53,7 +54,10 @@ extern int h_errno; #include #include -#define INADDR_LOOPBACK ((u_int32_t)0x7f000001) +#include +#if !defined (INADDR_LOOPBACK) +# define INADDR_LOOPBACK ((u_int32_t)0x7f000001) +#endif /* Varargs stuff... */ #include