diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/types.h | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c5bdeddf9..6ee98389d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2011-04-04 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> + + * include/cygwin/types.h: Move multiple inclusion guards to + beginning and end of header. + 2011-04-04 Christopher Faylor <me.cygwin2011@cgf.cx> * Makefile.in: Move Makefile.common include earlier to fix problems with diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index efc076a45..c049fa371 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -9,14 +9,14 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ +#ifndef _CYGWIN_TYPES_H +#define _CYGWIN_TYPES_H + #ifdef __cplusplus extern "C" { #endif -#ifndef _CYGWIN_TYPES_H -#define _CYGWIN_TYPES_H - #include <sys/sysmacros.h> #include <stdint.h> #include <endian.h> @@ -218,8 +218,9 @@ typedef class pthread_rwlockattr *pthread_rwlockattr_t; /* semaphores types */ typedef class semaphore *sem_t; #endif /* __INSIDE_CYGWIN__ */ -#endif /* _CYGWIN_TYPES_H */ #ifdef __cplusplus } #endif + +#endif /* _CYGWIN_TYPES_H */ |