summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-02-21 17:01:16 -0500
committerRob Clark <robdclark@gmail.com>2017-02-22 10:31:02 -0500
commit1f1158fe1279e845420d3cb838eff3bbf2e5701a (patch)
tree95fe331b322f1a4d67ed1f1c77b36c0cb8ece71c /common.c
parent3e78eabeeeeb8476583cf2d37f1bd561307694db (diff)
downloadkmscube-1f1158fe1279e845420d3cb838eff3bbf2e5701a.tar.gz
split out legacy (pageflip) kms
Preping to add new atomic alternative path.
Diffstat (limited to 'common.c')
-rw-r--r--common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.c b/common.c
index 7c59632..f3443ac 100644
--- a/common.c
+++ b/common.c
@@ -21,8 +21,11 @@
* DEALINGS IN THE SOFTWARE.
*/
+#include <errno.h>
+#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "common.h"