summaryrefslogtreecommitdiff
path: root/src/nautilus-file.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2018-06-08 17:22:23 +0200
committerCarlos Soriano <csoriano1618@gmail.com>2018-06-12 09:14:44 +0000
commit41ab60dfa00c72fc787d8b09edf6679728ebb1d8 (patch)
treec3fcbf93ab236cb4fa31c5f35bec70386433f7a7 /src/nautilus-file.c
parentb42ffe73a6e6bc0a62ccccd8ba64ce4c086ac836 (diff)
downloadnautilus-41ab60dfa00c72fc787d8b09edf6679728ebb1d8.tar.gz
file: Make sure we include necessary headers
setpwent is used but we didn't include the necessary headers. It was building in Fedora because some other header included it, but that's not the case in RHEL.
Diffstat (limited to 'src/nautilus-file.c')
-rw-r--r--src/nautilus-file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 01e35d9ab..ba6ea2fb9 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -40,6 +40,8 @@
#include <grp.h>
#include <gtk/gtk.h>
#include <libxml/parser.h>
+#include <sys/types.h>
+#include <limits.h>
#include <pwd.h>
#include <stdlib.h>
#include <sys/stat.h>