]> sjero.net Git - wget/commitdiff
Fix a build problem under solaris.
authorChristian Jullien <eligis@orange.fr>
Sun, 4 Sep 2011 11:30:01 +0000 (13:30 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sun, 4 Sep 2011 11:30:01 +0000 (13:30 +0200)
NEWS
src/ChangeLog
src/gnutls.c

diff --git a/NEWS b/NEWS
index 04c9372ba6dbcd8189b9dab353addf8d3ce756b3..12a9d2cafd3184466c30702ef083e9ffdb1bf7e7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
 
 ** Now --version works again.
 
+** Fix a build error on solaris 10 sparc.
 \f
 * Changes in Wget 1.13.3
 
index b6fe05951f3a9c29116789e7a72972e1de5180c1..617e51ec9bf1e8260a99738a0553d0a70274bec3 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-04  Christian Jullien <eligis@orange.fr> (tiny change)
+
+       * gnutls.c: Include <sys/fcntl.h>.
+
 2011-09-02  Mojca Miklavec <mojca.miklavec.lists@gmail.com> (tiny change)
 
        * main.c (print_version): Do not exit prematurely when --version is passed.
index dfff00cf5bf6e0ffc950fc55f885ddc466b9b726..40a04ef32733b6d20a804625f8a6711bf0517640 100644 (file)
@@ -48,6 +48,8 @@ as that of the covered work.  */
 #include "ptimer.h"
 #include "ssl.h"
 
+#include <sys/fcntl.h>
+
 #ifdef WIN32
 # include "w32sock.h"
 #endif