summaryrefslogtreecommitdiff
path: root/which.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-10-29 15:07:24 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:13 +0100
commitc7be9f38400dd3c6364fff3812da52b33b5bc448 (patch)
treec2a5f138d2d6dc303d6c46f57510fc87d8346a2c /which.c
parent5da6a89b1e630263d034aab99c7a1056ec7891c4 (diff)
Portability: include <sys/types.h> before <sys/stat.h>.
Diffstat (limited to 'which.c')
-rw-r--r--which.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/which.c b/which.c
index 3d23e3d..9a6e1bb 100644
--- a/which.c
+++ b/which.c
@@ -8,10 +8,11 @@
and to strip out unneeded functionality.
*/
+#include "rc.h"
+
#include <errno.h>
#include <sys/stat.h>
-#include "rc.h"
#include "getgroups.h"
#define X_USR 0100