aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-08 06:46:28 -0600
committerTed Gould <ted@canonical.com>2009-08-08 06:46:28 -0600
commit77c213e6d61847659df1271312e7398c696f9015 (patch)
tree751c751d01d70ec59728bc1a05a64112e8d74ff8
parent255ccc8a16afc58cd56bca5880a706ac494c00ba (diff)
downloadayatana-indicator-session-77c213e6d61847659df1271312e7398c696f9015.tar.gz
ayatana-indicator-session-77c213e6d61847659df1271312e7398c696f9015.tar.bz2
ayatana-indicator-session-77c213e6d61847659df1271312e7398c696f9015.zip
Adding unistd.h header
-rw-r--r--src/status-service.c1
-rw-r--r--src/users-service.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/status-service.c b/src/status-service.c
index 0c7b7b2..5a9d9b5 100644
--- a/src/status-service.c
+++ b/src/status-service.c
@@ -23,6 +23,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <sys/types.h>
#include <pwd.h>
+#include <unistd.h>
#include <glib/gi18n.h>
diff --git a/src/users-service.c b/src/users-service.c
index a8a9c67..9ada91f 100644
--- a/src/users-service.c
+++ b/src/users-service.c
@@ -20,6 +20,7 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <unistd.h>
#include <glib/gi18n.h>