summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_osfp.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-01-03 14:51:02 +0000
committerespie <espie@openbsd.org>2004-01-03 14:51:02 +0000
commit3416c4004e7fbc25eee0186af24e09b68f130d2a (patch)
treebcbb3ecd35e1d69288216113b1914846d40ece72 /sys/net/pf_osfp.c
parentput an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros (diff)
downloadwireguard-openbsd-3416c4004e7fbc25eee0186af24e09b68f130d2a.tar.xz
wireguard-openbsd-3416c4004e7fbc25eee0186af24e09b68f130d2a.zip
make sure userland sees memcmp and friends (gcc3)
okay frantzen@
Diffstat (limited to 'sys/net/pf_osfp.c')
-rw-r--r--sys/net/pf_osfp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c
index 52d9058fe35..26ac47ab8b9 100644
--- a/sys/net/pf_osfp.c
+++ b/sys/net/pf_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_osfp.c,v 1.6 2004/01/03 14:08:53 espie Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.7 2004/01/03 14:51:02 espie Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
@@ -50,6 +50,7 @@ typedef struct pool pool_t;
# include <errno.h>
# include <stdio.h>
# include <stdlib.h>
+# include <string.h>
# define pool_t int
# define pool_get(pool, flags) malloc(*(pool))
# define pool_put(pool, item) free(item)