@@ -514,8 +514,9 @@ pub mod types {
514
514
}
515
515
pub mod extra {
516
516
use libc:: types:: common:: c95:: c_void;
517
- use libc:: types:: os:: arch:: c95:: { c_char, c_int,
518
- c_ulong, wchar_t} ;
517
+ use libc:: types:: os:: arch:: c95:: { c_char, c_int, c_uint} ;
518
+ use libc:: types:: os:: arch:: c95:: { c_long, c_ulong} ;
519
+ use libc:: types:: os:: arch:: c95:: { wchar_t} ;
519
520
use libc:: types:: os:: arch:: c99:: { c_ulonglong} ;
520
521
521
522
pub type BOOL = c_int ;
@@ -1195,6 +1196,7 @@ pub mod funcs {
1195
1196
use libc:: types:: common:: c95:: c_void;
1196
1197
use libc:: types:: os:: arch:: c95:: { c_int, c_uint, c_char,
1197
1198
c_long, size_t} ;
1199
+ use libc:: types:: os:: arch:: c99:: intptr_t;
1198
1200
1199
1201
#[ link_name = "_access" ]
1200
1202
fn access ( path : * c_char , amode : c_int ) -> c_int ;
@@ -1490,6 +1492,10 @@ pub mod funcs {
1490
1492
1491
1493
#[ cfg( target_os = "win32" ) ]
1492
1494
pub mod extra {
1495
+ use libc:: types:: os:: arch:: c95:: c_int;
1496
+ use libc:: types:: os:: arch:: extra:: { DWORD , HMODULE , LPCWSTR , LPWSTR } ;
1497
+ use libc:: types:: os:: arch:: extra:: { BOOL , LPSECURITY_ATTRIBUTES } ;
1498
+
1493
1499
#[ abi = "stdcall" ]
1494
1500
pub extern mod kernel32 {
1495
1501
fn GetEnvironmentVariableW ( n : LPCWSTR ,
0 commit comments