Skip to content

Commit 53d3f00

Browse files
committed
[LIBTIRPC] Add a PCH.
1 parent 1feb8e6 commit 53d3f00

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

dll/3rdparty/libtirpc/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ list(APPEND SOURCE
8585
src/xdr_rec.c
8686
src/xdr_reference.c
8787
src/xdr_sizeof.c
88-
src/xdr_stdio.c)
88+
src/xdr_stdio.c
89+
precomp.h)
8990

9091
add_library(libtirpc SHARED
9192
${SOURCE}
@@ -102,4 +103,5 @@ endif()
102103
set_module_type(libtirpc win32dll)
103104
add_importlibs(libtirpc user32 advapi32 kernel32_vista ws2_32 msvcrt kernel32 ntdll)
104105
add_delay_importlibs(libtirpc secur32)
106+
add_pch(libtirpc precomp.h SOURCE)
105107
add_cd_file(TARGET libtirpc DESTINATION reactos/system32 FOR all)

dll/3rdparty/libtirpc/precomp.h

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#ifndef _LIBTIRPC_PRECOMP_H_
2+
#define _LIBTIRPC_PRECOMP_H_
3+
4+
#include <wintirpc.h>
5+
#include <assert.h>
6+
#include <stdio.h>
7+
#include <stdlib.h>
8+
#include <stddef.h>
9+
#include <string.h>
10+
#include <errno.h>
11+
#include <reentrant.h>
12+
#include <time.h>
13+
#include <fcntl.h>
14+
#include <netconfig.h>
15+
#include <rpc/xdr.h>
16+
#include <rpc/auth.h>
17+
#include <rpc/auth_sspi.h>
18+
#include <rpc/auth_unix.h>
19+
#include <rpc/clnt.h>
20+
#include <rpc/nettype.h>
21+
#include <rpc/rpc.h>
22+
#include <rpc/raw.h>
23+
#include <rpc/rpcb_prot.h>
24+
#include <rpc/svc.h>
25+
#include <rpc/types.h>
26+
#include <sys/types.h>
27+
#include <rpc/pmap_prot.h>
28+
#include <rpc/pmap_clnt.h>
29+
#include <rpc/pmap_rmt.h>
30+
#include <libc_private.h>
31+
32+
#endif /* _LIBTIRPC_PRECOMP_H_ */

0 commit comments

Comments
 (0)