diff --git a/include/ChangeLog b/include/ChangeLog index 85932b39..f95deb38 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-04-02 Marcel Telka + + * stdint.h: Ported to NetBSD (thanks to Jachym Holecek). + 2003-03-19 Marcel Telka Version 0.2.2 released. diff --git a/include/NEWS b/include/NEWS index 23e18a72..218388cf 100644 --- a/include/NEWS +++ b/include/NEWS @@ -1,5 +1,7 @@ $Id$ + * Ported stdint.h to NetBSD (thanks to Jachym Holecek). + include-0.2.2 (2003-03-19): * stdint.h ported to cygwin-1.3.21 and later. diff --git a/include/stdint.h b/include/stdint.h index 1568b06e..263b0e2c 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -23,6 +23,10 @@ #define __need_wchar_t #include +#if defined(__NetBSD__) +#include +#else + /* 7.18.1.1 Exact-width integer types */ #if defined(__CYGWIN__) #include @@ -205,4 +209,6 @@ typedef unsigned long long uintmax_t; #endif /* !defined ( __cplusplus) || defined __STDC_CONSTANT_MACROS */ +#endif /* defined(__NetBSD__) */ + #endif