summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-10-28 08:47:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-10-28 08:47:44 +0000
commit2954599bae933702b57db7ae20c47de24ef75e9d (patch)
tree9e88d348c3a283fac8044eebc7316e6331250faa
parent9a13284e673d9081a50341bd82f2f8e2a05f5f9e (diff)
include string.h for memcpy()
-rw-r--r--regress/misc/X11/blt/blt.c3
-rw-r--r--regress/misc/X11/bltone/bltone.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/misc/X11/blt/blt.c b/regress/misc/X11/blt/blt.c
index d9e11e30598..7d8df9edd25 100644
--- a/regress/misc/X11/blt/blt.c
+++ b/regress/misc/X11/blt/blt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: blt.c,v 1.1 2005/08/31 20:53:49 kettenis Exp $ */
+/* $OpenBSD: blt.c,v 1.2 2013/10/28 08:47:43 jsg Exp $ */
/*
* Written by Mark Kettenis <kettenis@openbsd.org> 2004 Public Domain
*/
@@ -8,6 +8,7 @@
#include <assert.h>
#include <stddef.h>
+#include <string.h>
typedef unsigned FbStip;
typedef unsigned FbBits;
diff --git a/regress/misc/X11/bltone/bltone.c b/regress/misc/X11/bltone/bltone.c
index b654fd9492d..36f67e6ba65 100644
--- a/regress/misc/X11/bltone/bltone.c
+++ b/regress/misc/X11/bltone/bltone.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bltone.c,v 1.4 2005/08/27 14:00:57 kettenis Exp $ */
+/* $OpenBSD: bltone.c,v 1.5 2013/10/28 08:47:43 jsg Exp $ */
/*
* Written by Mark Kettenis <kettenis@openbsd.org> 2004 Public Domain
*/
@@ -8,6 +8,7 @@
#include <assert.h>
#include <stddef.h>
+#include <string.h>
typedef unsigned FbStip;
typedef unsigned FbBits;