summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-06-21 17:11:29 +1200
committerRobert Ancell <robert.ancell@canonical.com>2012-06-21 17:11:29 +1200
commit181e353473c504a1e327f874be1278d0a2b7998d (patch)
tree62ce1fdb26de749c1686496e78f182245964713e
parent8aee58b3a81d6945beedd476a3c84854cc032f1a (diff)
parent351bfd02e701e447f0fe742af8421b193b42c570 (diff)
downloadlightdm-181e353473c504a1e327f874be1278d0a2b7998d.tar.gz
Fix compilation with GCC 4.7
-rw-r--r--NEWS1
-rw-r--r--tests/src/libsystem.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7ea3b07e..515f2cdd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
Overview of changes in lightdm 1.3.2
* Handle clearenv() not being defined
+ * Fix compilation with GCC 4.7
Overview of changes in lightdm 1.3.1
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index 36852dd7..2b944837 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -5,7 +5,6 @@
#include <pwd.h>
#include <grp.h>
#include <security/pam_appl.h>
-#include <unistd.h>
#include <fcntl.h>
#define __USE_GNU
#include <dlfcn.h>