2012-01-04 16:29:02 +01:00
|
|
|
$NetBSD: patch-af,v 1.2 2012/01/04 15:29:02 dholland Exp $
|
2005-12-18 21:14:03 +01:00
|
|
|
|
2012-01-04 16:29:02 +01:00
|
|
|
- needs <time.h> on linux
|
|
|
|
- dragonfly support
|
|
|
|
|
|
|
|
--- syshdr.h.orig 1998-11-16 17:03:49.000000000 +0000
|
2005-12-18 21:14:03 +01:00
|
|
|
+++ syshdr.h
|
2012-01-04 16:29:02 +01:00
|
|
|
@@ -15,6 +15,7 @@
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
+#include <time.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <sys/errno.h>
|
|
|
|
#include <errno.h>
|
|
|
|
@@ -47,6 +48,9 @@
|
2005-12-18 21:14:03 +01:00
|
|
|
# define BSD4_4_LITE2
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
+#if defined(__DragonFly__)
|
|
|
|
+#define BSD4_4_LITE2
|
|
|
|
+#endif
|
|
|
|
#if defined(BSD4_4) && !defined(BSD4_4_LITE2)
|
|
|
|
# define BSD4_4_LITE
|
|
|
|
#endif
|