From 4aa992616f7c42657c5b7a35f65d86131cc5ec3e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 7 Jan 1995 16:57:36 +0000 Subject: Include config.h first. --- getloadavg.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'getloadavg.c') diff --git a/getloadavg.c b/getloadavg.c index 99521b7..f03e22e 100644 --- a/getloadavg.c +++ b/getloadavg.c @@ -1,5 +1,5 @@ /* Get the system load averages. - Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994 + Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994, 1995 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -59,6 +59,11 @@ We also #define LDAV_PRIVILEGED if a program will require special installation to be able to call getloadavg. */ +/* This should always be first. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include /* Both the Emacs and non-Emacs sections want this. Some @@ -69,10 +74,6 @@ #endif -#ifdef HAVE_CONFIG_H -#include -#endif - /* Exclude all the code except the test program at the end if the system has its own `getloadavg' function. -- cgit v1.2.3