* Introduce a PCH.

svn path=/trunk/; revision=52902
This commit is contained in:
Amine Khaldi 2011-07-26 21:49:14 +00:00
parent e87cb26ad8
commit 54c46d508f
6 changed files with 24 additions and 33 deletions

View file

@ -9,5 +9,6 @@ add_executable(finger
finger.rc)
set_module_type(finger win32cui)
add_pch(finger precomp.h)
add_importlibs(finger ws2_32 msvcrt kernel32)
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)

View file

@ -35,17 +35,7 @@
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
#include "err.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#include "precomp.h"
extern char *__progname; /* Program name, from crt0. */

View file

@ -54,17 +54,7 @@
* mail info, and .plan/.project files.
*/
#include <winsock2.h>
#include "err.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "various.h"
#include "getopt.h"
#include "precomp.h"
char *__progname;

View file

@ -38,11 +38,7 @@
static char sccsid[] = "@(#)getopt.c 4.13 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
#include "precomp.h"
/*
* get option letter from argument vector

View file

@ -34,12 +34,7 @@
* SUCH DAMAGE.
*/
#include <winsock2.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "various.h"
#include "precomp.h"
void
netfinger(char *name)

View file

@ -0,0 +1,19 @@
#include <winsock2.h>
#include "err.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#include "various.h"
#include "getopt.h"