aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h
index 3b32cbd6c..b86e57047 100644
--- a/src/system.h
+++ b/src/system.h
@@ -14,11 +14,15 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* Include this file _after_ system headers if possible. */
+
#include <alloca.h>
-/* Include sys/types.h before this file. */
+/* Include <sys/types.h> before this file.
+ Note this doesn't warn if we're included
+ before all system headers. */
-#if 2 <= __GLIBC__ && 2 <= __GLIBC_MINOR__
+#if 2 < __GLIBC__ || ( 2 == ___GLIBC__ && 2 <= __GLIBC_MINOR__ )
# if ! defined _SYS_TYPES_H
you must include <sys/types.h> before including this file
# endif