fbf3790857
OKed during freeze by wiz and agc
16 lines
450 B
Text
16 lines
450 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2009/10/02 20:34:11 markd Exp $
|
|
|
|
--- libkdegames/kggzmod/misc_private.h.orig 2007-07-26 22:34:49.000000000 +1200
|
|
+++ libkdegames/kggzmod/misc_private.h
|
|
@@ -28,6 +28,11 @@
|
|
#include <arpa/inet.h>
|
|
#include <netinet/in.h>
|
|
#include <netdb.h>
|
|
+#ifdef __NetBSD__
|
|
+#include <machine/param.h>
|
|
+#undef CMSG_SPACE
|
|
+#define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
|
|
+#endif
|
|
|
|
#ifdef Q_OS_WIN
|
|
#include <kdebug.h>
|