summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/locale
diff options
context:
space:
mode:
authorjsg <>2017-02-25 07:28:32 +0000
committerjsg <>2017-02-25 07:28:32 +0000
commit934315404d85741a9a7d8aa633e0a32ad3fdc235 (patch)
treea0c60b59c92178da9cae05c466c9bb7f3f1623b9 /src/regress/lib/libc/locale
parenta81f78972dfa24aa2335b2dbacc331260359a43e (diff)
downloadopenbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.gz
openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.bz2
openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.zip
Add missing includes to avoid implicit function declarations.
Diffstat (limited to 'src/regress/lib/libc/locale')
-rw-r--r--src/regress/lib/libc/locale/setlocale/setlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libc/locale/setlocale/setlocale.c b/src/regress/lib/libc/locale/setlocale/setlocale.c
index 5b4cb63870..f2a8427535 100644
--- a/src/regress/lib/libc/locale/setlocale/setlocale.c
+++ b/src/regress/lib/libc/locale/setlocale/setlocale.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: setlocale.c,v 1.2 2015/08/23 07:33:50 guenther Exp $ */ 1/* $OpenBSD: setlocale.c,v 1.3 2017/02/25 07:28:32 jsg Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> 3 * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org>
4 * 4 *
@@ -20,6 +20,7 @@
20#include <stdlib.h> 20#include <stdlib.h>
21#include <stdio.h> 21#include <stdio.h>
22#include <string.h> 22#include <string.h>
23#include <ctype.h>
23 24
24/* 25/*
25 * test helpers for __LINE__ 26 * test helpers for __LINE__