blob: 8d81301780d745dd68bfc7675badefb2b3a0515e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/intel_device.c.orig 2017-02-28 20:52:19 UTC
+++ src/intel_device.c
@@ -28,6 +28,9 @@
#include "config.h"
#endif
+#define _WITH_GETLINE /* to expose getline() in stdio.h on FreeBSD */
+#include <stdio.h> /* for getline() */
+
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
@@ -204,6 +207,7 @@ static inline struct intel_device *intel
}
static const char *kernel_module_names[] ={
+ "i915kms",
"i915",
NULL,
};
|