> From: j...@wxcvbn.org (Jeremie Courreges-Anglas) > Date: Mon, 26 Sep 2016 21:13:24 +0200 > > AFAIK this is not a standard define, so it should be unconditionally > reachable. mkr went fine. > > Thoughts?
ok kettenis@, although perhaps it makes sense to move this #define a bit further down the file into an existing __BSD_VISIBLE block. > Index: socket.h > =================================================================== > RCS file: /cvs/src/sys/sys/socket.h,v > retrieving revision 1.91 > diff -u -p -p -u -r1.91 socket.h > --- socket.h 12 Sep 2016 19:41:20 -0000 1.91 > +++ socket.h 25 Sep 2016 22:55:57 -0000 > @@ -58,7 +58,9 @@ typedef __sa_family_t sa_family_t; /* so > */ > > /* Maximum number of alternate routing tables */ > +#if __BSD_VISIBLE > #define RT_TABLEID_MAX 255 > +#endif > > /* > * Types > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE > >