File pktstat-fix-compat.diff of Package pktstat

--- compat.h.orig	2006-11-10 10:29:59.000000000 +0100
+++ compat.h	2006-11-10 10:30:21.000000000 +0100
@@ -1,20 +1,2 @@
-
-#if !HAVE_MEMCMP
-int memcmp(const void *, const void *, size_t);
-#endif
-
-#if HAVE_ERR_H
-# include <err.h>
-#else
-# if !HAVE_ERR
-void err(int, const char *, ...);
-void errx(int, const char *, ...);
-void warn(const char *, ...);
-void warnx(const char *, ...);
-# endif
-#endif
-
-
-#if !HAVE_STRNCPY
-size_t strlcpy(char *, const char *, size_t);
-#endif
+#include <string.h>
+#include <err.h>
openSUSE Build Service is sponsored by