Include sgidefs.h only if NO_SGIDEFS_H isn't defined.

This commit is contained in:
Ulrich Drepper 2004-08-26 16:59:14 +00:00
parent 13e579e4f9
commit c80ce440fb
3 changed files with 6 additions and 0 deletions

View File

@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread

View File

@ -27,7 +27,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread

View File

@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
#endif
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite