summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/strerror.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-10-29 19:58:12 +0000
committerroberto <roberto@FreeBSD.org>2002-10-29 19:58:12 +0000
commitf77146900e35a78aaabf5f88d47b7675304c8445 (patch)
treedaab9e5ccc14bec1f0fee71e35464e6040c6756f /contrib/ntp/libntp/strerror.c
parent40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (diff)
downloadFreeBSD-src-f77146900e35a78aaabf5f88d47b7675304c8445.zip
FreeBSD-src-f77146900e35a78aaabf5f88d47b7675304c8445.tar.gz
Virgin import of ntpd 4.1.1a
Diffstat (limited to 'contrib/ntp/libntp/strerror.c')
-rw-r--r--contrib/ntp/libntp/strerror.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/strerror.c b/contrib/ntp/libntp/strerror.c
index a07bcd6..5a9595a 100644
--- a/contrib/ntp/libntp/strerror.c
+++ b/contrib/ntp/libntp/strerror.c
@@ -1,3 +1,6 @@
+#include <config.h>
+
+#if !HAVE_STRERROR
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@@ -38,3 +41,6 @@ strerror(
(void)sprintf(ebuf, "Unknown error: %d", errnum);
return(ebuf);
}
+#else
+int strerror_bs;
+#endif
OpenPOWER on IntegriCloud