mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Import OpenBSD's getopt(3) to workaround broken glibc version.
This commit is contained in:
8
tmux.h
8
tmux.h
@ -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>
|
||||
|
Reference in New Issue
Block a user