diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-09-20 19:43:41 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-09-20 19:43:41 +0000 |
commit | 50abba560c1a20ae2b88a0e4dbfc0d1f166588ea (patch) | |
tree | 767d45af8bd1bd1fe56d61f8a9b4776b50e2e4e7 /defines.h | |
parent | c3422eb89094e4e56710b2fccfc7aff6294b1cab (diff) |
- (stevesk) sun_len, SUN_LEN() configure stuff no longer required
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.71 2001/09/15 11:31:54 djm Exp $ */ +/* $Id: defines.h,v 1.72 2001/09/20 19:43:41 stevesk Exp $ */ /* Necessary headers */ @@ -12,7 +12,7 @@ #include <netinet/in.h> /* For IPv6 macros */ #include <netinet/ip.h> /* For IPTOS macros */ #ifdef HAVE_SYS_UN_H -# include <sys/un.h> /* For SUN_LEN */ +# include <sys/un.h> /* For sockaddr_un */ #endif #ifdef HAVE_SYS_BITYPES_H # include <sys/bitypes.h> /* For u_intXX_t */ @@ -405,11 +405,6 @@ struct winsize { # define __attribute__(x) #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ -#ifndef SUN_LEN -#define SUN_LEN(su) \ - (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path)) -#endif /* SUN_LEN */ - /* *-*-nto-qnx doesn't define this macro in the system headers */ #ifdef MISSING_HOWMANY # define howmany(x,y) (((x)+((y)-1))/(y)) |