mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	getptmfd() and fdforkpty() compat.
This commit is contained in:
		@@ -15,13 +15,15 @@
 | 
			
		||||
 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
#include "compat.h"
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
setenv(const char *name, const char *value, unused int overwrite)
 | 
			
		||||
setenv(const char *name, const char *value, __unused int overwrite)
 | 
			
		||||
{
 | 
			
		||||
	char	*newval;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user