projects
/
platform
/
upstream
/
gettext.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.19.7
[platform/upstream/gettext.git]
/
gettext-tools
/
src
/
hostname.c
diff --git
a/gettext-tools/src/hostname.c
b/gettext-tools/src/hostname.c
index
76558e0
..
684aa4e
100644
(file)
--- a/
gettext-tools/src/hostname.c
+++ b/
gettext-tools/src/hostname.c
@@
-1,5
+1,6
@@
/* Display hostname in various forms.
/* Display hostname in various forms.
- Copyright (C) 2001-2003, 2006-2007, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006-2007, 2012, 2015 Free Software
+ Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
@@
-46,7
+47,9
@@
#endif
/* Get MAXHOSTNAMELEN. */
#endif
/* Get MAXHOSTNAMELEN. */
-#include <sys/param.h>
+#if HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
#endif
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
#endif