view network/iputils/fix-defines.patch @ 586:1218a8f753b6

core/busybox: let's re-add /etc/inittab support While busybox has weird /etc/inittab support the predefined actions without it are too minimalistic so re-add the support for it but don't install an /etc/inittab file. The file /etc/inittab file is still installed with sysvinit but if someone wants to use busybox's init it should create its own /etc/inittab file with the busybox syntax and do not install sysvinit afterwards.
author David Demelier <markand@malikania.fr>
date Mon, 08 Jul 2019 20:35:00 +0200
parents 96cc0131586a
children
line wrap: on
line source

--- a/ping.h
+++ b/ping.h
@@ -44,6 +44,10 @@
 #define getnameinfo_flags 0
 #endif
 
+#ifndef AI_CANONIDN
+#define AI_CANONIDN 0x0080
+#endif
+
 #ifndef WITHOUT_IFADDRS
 #include <ifaddrs.h>
 #endif