aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel/files/patch-src_sna_sna__threads.c
blob: 68cde27286f7a4d701499fbdad0cd81b39865861 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/sna/sna_threads.c.orig	2017-02-28 20:52:19 UTC
+++ src/sna/sna_threads.c
@@ -29,6 +29,9 @@
 #include "config.h"
 #endif
 
+#define _WITH_GETLINE	/* to expose getline() in stdio.h on FreeBSD */
+#include <stdio.h>	/* for getline() */
+
 #include "sna.h"
 
 #include <unistd.h>