]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/xstrerror.cc
SourceFormat Enforcement
[thirdparty/squid.git] / compat / xstrerror.cc
index 0db14307cce18a23fb8b8de71c7dddd493c83b16..97f2702e526b8bb9ec9650087ee8356c169c4015 100644 (file)
@@ -1,9 +1,15 @@
+/*
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #include "squid.h"
 #include "compat/xstrerror.h"
 
-#if HAVE_STRING_H
-#include <string.h>
-#endif
+#include <cstring>
 
 #if _SQUID_WINDOWS_
 static struct _wsaerrtext {
@@ -101,3 +107,4 @@ xstrerr(int error)
 
     return xstrerror_buf;
 }
+