getcwd-lgpl: fix m4 to match relaxed test for BSD
[gnulib.git] / tests / test-pwrite.c
index 549be10..0139391 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the pwrite function.
-   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2009-2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@ SIGNATURE_CHECK (pwrite, ssize_t, (int, const void *, size_t, off_t));
 #include <sys/types.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <string.h>
 
 #include "macros.h"