gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog cygnal/cygnal.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog cygnal/cygnal.cpp
Date: Sun, 17 Dec 2006 23:26:53 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/12/17 23:26:53

Modified files:
        .              : ChangeLog 
        cygnal         : cygnal.cpp 

Log message:
        Added getopt.h etc.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1953&r2=1.1954
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/cygnal.cpp?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1953
retrieving revision 1.1954
diff -u -b -r1.1953 -r1.1954
--- ChangeLog   17 Dec 2006 21:29:42 -0000      1.1953
+++ ChangeLog   17 Dec 2006 23:26:53 -0000      1.1954
@@ -1,3 +1,7 @@
+2006-12-18 Markus Gothe <address@hidden>
+
+       cygnal/cygnal.cpp: Added getopt.h etc.
+
 2006-12-17  Rob Savoye  <address@hidden>
 
        * configure.ac: USe new GNASH_PATH_MYSQL instead of

Index: cygnal/cygnal.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/cygnal.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/cygnal.cpp   17 Dec 2006 02:34:58 -0000      1.1
+++ cygnal/cygnal.cpp   17 Dec 2006 23:26:53 -0000      1.2
@@ -15,6 +15,8 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
+$Id: cygnal.cpp,v 1.2 2006/12/17 23:26:53 nihilus Exp $
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -25,6 +27,16 @@
 #include <sys/mman.h>
 #include <cerrno>
 
+extern "C"{
+        #include <unistd.h>
+#ifdef HAVE_GETOPT_H
+        #include <getopt.h>
+#endif
+#ifndef __GNUC__
+        extern int optind, getopt(int, char *const *, const char *);
+#endif
+}
+
 #include "stream.h"
 #include "network.h"
 #include "log.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]