aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel/files/patch-src_sna_kgem.c
blob: e3f23cdaa2d0f7549e5cb228639289e2da6ab470 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/sna/kgem.c.orig	2017-02-28 20:52:19 UTC
+++ src/sna/kgem.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 "sna_reg.h"