Import OpenBSD's getopt(3) to workaround broken glibc version.

This commit is contained in:
Nicholas Marriott
2008-12-10 20:25:42 +00:00
parent 3b2859e9dc
commit 5c3d973a4a
29 changed files with 659 additions and 74 deletions

8
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.201 2008-12-08 16:19:51 nicm Exp $ */
/* $Id: tmux.h,v 1.202 2008-12-10 20:25:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -46,6 +46,12 @@
#include "compat/bsd-poll.h"
#endif
#ifndef BROKEN_GETOPT
#include <getopt.h>
#else
#include "compat/getopt.h"
#endif
#include <ncurses.h>
#include <limits.h>
#include <signal.h>