summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-02 14:45:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-02 14:48:21 -0700
commit5f63ab04338fd811c610ae7617757ede52471316 (patch)
treef99d764fdd73ba28d92ab6275777590558195bfc
parentb99e91aafb66790d3158c068c321e40c19c0571d (diff)
sun_mouse: include more required system headers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--COPYING3
-rw-r--r--src/sun_mouse.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/COPYING b/COPYING
index d834c59..da8c9a3 100644
--- a/COPYING
+++ b/COPYING
@@ -1,5 +1,4 @@
-Copyright (c) 2004-2005, 2008-2010, Oracle and/or its affiliates.
-All rights reserved.
+Copyright (c) 2004, 2022, Oracle and/or its affiliates.
Copyright 2012 Red Hat, Inc.
Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/src/sun_mouse.c b/src/sun_mouse.c
index 697a137..d7c534e 100644
--- a/src/sun_mouse.c
+++ b/src/sun_mouse.c
@@ -1,6 +1,5 @@
/*
- * Copyright (c) 2004-2005, 2008-2010, Oracle and/or its affiliates.
- * All rights reserved.
+ * Copyright (c) 2004, 2022, Oracle and/or its affiliates.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -59,6 +58,8 @@
#include <sys/stropts.h>
#include <sys/vuid_event.h>
#include <sys/msio.h>
+#include <fcntl.h>
+#include <errno.h>
#include "xorg-server.h"
#include "xf86.h"
#include "xf86_OSlib.h"