14a6cc3ec0
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.
13 lines
392 B
Text
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 */
|