pkgsrc/chat/i2cb/patches/patch-ad
joerg 14a6cc3ec0 Always include sys/types.h, it is needed on !NetBSD as well.
Use dirent.h instead of sys/dir.h, the former is POSIX and the latter
gives a warning on DragonFly, which breaks -Werror.
Use NAME_MAX if available, fall back to MAXNAMLEN otherwise.
2005-12-13 21:30:11 +00:00

13 lines
392 B
Text

$NetBSD: patch-ad,v 1.2 2005/12/13 21:30:11 joerg Exp $
--- src/ipcf.h.orig 2000-03-15 22:13:28.000000000 +0000
+++ src/ipcf.h
@@ -1,6 +1,8 @@
/* Copyright (c) 1988 Carrick Sean Casey. All rights reserved. */
/* For copying and distribution information, see the file "copyright.h." */
+#include <sys/types.h> /* fd_set etc. */
+
#define USER_BUF_SIZE 1024
/* packet input buffer */