bug-gv
[Top][All Lists]
Advanced

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

[bug-gv] [bug #11141] gv do not build on non GNU systems


From: anonymous
Subject: [bug-gv] [bug #11141] gv do not build on non GNU systems
Date: Fri, 17 Jun 2005 13:13:42 +0000
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050518

Follow-up Comment #2, bug #11141 (project gv):

In src/main.c, any fix like that :

/*
  Apple (OS X) and Sun systems declare getopt in unistd.h,
  other systems (Linux) use getopt.h
*/
#if defined ( __APPLE__ ) || ( defined (__SVR4) && defined (__sun) )
#include <unistd.h>
#else
#include "getopt.h"
#endif

correct the main.c:47:20: getopt.h: No such file or directory error (but no
the GNU_longOptions error)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11141>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/





reply via email to

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