Skip to content

Instantly share code, notes, and snippets.

@schweikert
schweikert / fix_ipv6_on_solaris.diff
Created April 27, 2012 06:39
fping 3.1 Solaris 8 patch
--- fping.c-orig 2011-12-22 16:05:18.000000000 +0100
+++ fping.c 2012-01-13 17:47:08.000000000 +0100
@@ -386,6 +386,37 @@
#endif /* _NO_PROTO */
+#if defined (__SVR4) && defined (__sun)
+/* on Solaris use code from glibc's misc/err.c because the IPv6 support needs it */
+#include <stdarg.h>
+extern char *prog; /* set by fping.c */

Keybase proof

I hereby claim:

  • I am schweikert on github.
  • I am schweikert (https://keybase.io/schweikert) on keybase.
  • I have a public key whose fingerprint is 8D1E 89B8 FBA9 20A5 A609 F261 5A11 A22B C5A1 F734

To claim this, I am signing this object: