diff options
| author | Roland McGrath | 1995-01-07 16:57:36 +0000 |
|---|---|---|
| committer | Roland McGrath | 1995-01-07 16:57:36 +0000 |
| commit | df3dd7d63da53c93649587fbb9f6c17b0d5c1d9c (patch) | |
| tree | 42a282e3eeb8abbc99918f73fa222a0fc311360b /src | |
| parent | 09b3d66283ee0709707192ec63cc596c38d3c4c2 (diff) | |
| download | emacs-df3dd7d63da53c93649587fbb9f6c17b0d5c1d9c.tar.gz emacs-df3dd7d63da53c93649587fbb9f6c17b0d5c1d9c.zip | |
Include config.h first.
Diffstat (limited to 'src')
| -rw-r--r-- | src/getloadavg.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c index 99521b757fa..f03e22e008b 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Get the system load averages. | 1 | /* Get the system load averages. |
| 2 | Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994 | 2 | Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994, 1995 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| @@ -59,6 +59,11 @@ | |||
| 59 | We also #define LDAV_PRIVILEGED if a program will require | 59 | We also #define LDAV_PRIVILEGED if a program will require |
| 60 | special installation to be able to call getloadavg. */ | 60 | special installation to be able to call getloadavg. */ |
| 61 | 61 | ||
| 62 | /* This should always be first. */ | ||
| 63 | #ifdef HAVE_CONFIG_H | ||
| 64 | #include <config.h> | ||
| 65 | #endif | ||
| 66 | |||
| 62 | #include <sys/types.h> | 67 | #include <sys/types.h> |
| 63 | 68 | ||
| 64 | /* Both the Emacs and non-Emacs sections want this. Some | 69 | /* Both the Emacs and non-Emacs sections want this. Some |
| @@ -69,10 +74,6 @@ | |||
| 69 | #endif | 74 | #endif |
| 70 | 75 | ||
| 71 | 76 | ||
| 72 | #ifdef HAVE_CONFIG_H | ||
| 73 | #include <config.h> | ||
| 74 | #endif | ||
| 75 | |||
| 76 | /* Exclude all the code except the test program at the end | 77 | /* Exclude all the code except the test program at the end |
| 77 | if the system has its own `getloadavg' function. | 78 | if the system has its own `getloadavg' function. |
| 78 | 79 | ||