Include config.h first.
authorRoland McGrath <roland@redhat.com>
Sat, 7 Jan 1995 16:57:36 +0000 (16:57 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 7 Jan 1995 16:57:36 +0000 (16:57 +0000)
getloadavg.c

index 99521b757fa6db921c55d880f6591d7202a3aec9..f03e22e008be3d81c13edea46715ad6b912aae51 100644 (file)
@@ -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
    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 <config.h>
+#endif
+
 #include <sys/types.h>
 
 /* Both the Emacs and non-Emacs sections want this.  Some
 #endif
 
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 /* Exclude all the code except the test program at the end
    if the system has its own `getloadavg' function.