1
0

patch-src_ilmid_io_c 633 B

123456789101112131415
  1. --- linux-atm-2.5.1.orig/src/ilmid/io.c 2007-07-11 18:07:57.000000000 +0200
  2. +++ linux-atm-2.5.1/src/ilmid/io.c 2013-08-15 21:40:35.168523713 +0200
  3. @@ -48,6 +48,12 @@
  4. be manually configured (after ilmid has
  5. registered the "official" address) - HACK */
  6. +#ifndef SUN_LEN
  7. +# include <string.h> /* For prototype of `strlen'. */
  8. + /* Evaluate to actual length of the `sockaddr_un' structure. */
  9. +# define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen ((ptr)->sun_path))
  10. +#endif
  11. +
  12. extern SysGroup *remsys;
  13. extern State ilmi_state;
  14. static short atm_itf = -1; /* bad value */