diff --git a/gl/strnlen.c b/gl/strnlen.c
index 593fd1b7c8c149cb2d7c9fb98ca83315d1ff403f..93d1ac149ba2b5dab84990813d3ddffa1d0f49d1 100644 (file)
--- a/gl/strnlen.c
+++ b/gl/strnlen.c
/* Find the length of STRING, but scan at most MAXLEN characters.
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
Written by Simon Josefsson.
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
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
#include <config.h>
-#include "strnlen.h"
+#include <string.h>
/* Find the length of STRING, but scan at most MAXLEN characters.
If no '\0' terminator is found in that many characters, return MAXLEN. */