diff options
Diffstat (limited to 'libf2c/libU77/configure.in')
-rw-r--r-- | libf2c/libU77/configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libf2c/libU77/configure.in b/libf2c/libU77/configure.in index b0e0aed6bf0..2ca5173f9a7 100644 --- a/libf2c/libU77/configure.in +++ b/libf2c/libU77/configure.in @@ -47,6 +47,8 @@ if test $may_use_xopen_source = yes; then # The following is needed by Solaris2.5.1 so that struct timeval is declared. AC_DEFINE(__EXTENSIONS__, 1, [Solaris extensions]) AC_DEFINE(_FILE_OFFSET_BITS, 64, [Get 64-bit file size support]) + # The following is needed by glibc2 so that gethostname is declared. + AC_DEFINE(_GNU_SOURCE, 1, [Get GNU extensions]) fi dnl Checks for programs. |