Fix to include system header files for using functions
This commit is contained in:
@@ -97,6 +97,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/file.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define STORAGE
|
||||
#include "general.h"
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <langinfo.h>
|
||||
#include <Dt/MsgCatP.h>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
*/
|
||||
#include "SearchE.h"
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
|
||||
/******#define DEBUG_KWIC*********/
|
||||
/********#define DEBUG_FINDSTR_ITER***********/
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
****************************************************************************
|
||||
************************************<+>*************************************/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <Dt/Wsm.h>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
**
|
||||
****************************************************************************
|
||||
************************************<+>*************************************/
|
||||
#include <stdlib.h>
|
||||
#include <Tt/tttk.h>
|
||||
#include <Dt/Service.h>
|
||||
#include <Dt/Wsm.h>
|
||||
|
||||
@@ -46,11 +46,8 @@
|
||||
#include "TermPrimBufferP.h"
|
||||
#include <Xm/DropSMgr.h>
|
||||
#include <Xm/DropTrans.h>
|
||||
|
||||
#if defined(OPENBSD_ARCHITECTURE)
|
||||
#include <ctype.h>
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
|
||||
/* This is for Sun's two button mouse */
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
#include <sys/stat.h>
|
||||
#endif /* USE_TIOCCONS */
|
||||
|
||||
#if defined(LINUX_ARCHITECTURE) || defined(OPENBSD_ARCHITECTURE)
|
||||
#if defined(LINUX_ARCHITECTURE) || defined(CSRG_BASED)
|
||||
#include <sys/ioctl.h>
|
||||
#endif /* LINUX_ARCHITECTURE */
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <ctype.h>
|
||||
#include <Dt/MsgCatP.h>
|
||||
#include "msgfac_msg.h"
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
**
|
||||
******************************************************************************/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <Xm/Xm.h>
|
||||
#include "externals.h"
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
#include <Xm/FileSB.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include "externals.h"
|
||||
#include "main.h"
|
||||
|
||||
|
||||
@@ -82,8 +82,10 @@
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/XmP.h>
|
||||
#include <Xm/TextF.h>
|
||||
#include <stdlib.h>
|
||||
#include "externals.h"
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <Xm/DragC.h>
|
||||
#include <Dt/Dnd.h>
|
||||
|
||||
@@ -107,6 +107,7 @@ in this Software without prior written authorization from the X Consortium.
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/*
|
||||
* From Xm/XmStringI.h
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
#else
|
||||
# include <utmp.h>
|
||||
#endif
|
||||
# include <signal.h>
|
||||
# include <time.h>
|
||||
# include <utime.h>
|
||||
# include <pwd.h>
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
#include <pwd.h>
|
||||
#include <dirent.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef SIA
|
||||
#include <sia.h>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#include <dirent.h>
|
||||
#include <Dt/MsgCatP.h>
|
||||
|
||||
# include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
|
||||
# ifndef NULL
|
||||
# define NULL 0
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
#include <sys/signal.h>
|
||||
#include <stdarg.h>
|
||||
#define Va_start(a,b) va_start(a,b)
|
||||
#include <unistd.h>
|
||||
|
||||
#include <X11/Xlibint.h>
|
||||
#include <Xm/Xm.h>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
/* $TOG: Debug.c /main/5 1998/04/06 13:32:19 mgreess $ */
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
@@ -92,6 +92,7 @@
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <locale.h>
|
||||
#include "vista.h"
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
#define _i18nUtil_h
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
/*+++++++++++++++++++++++++++++++++++++++*/
|
||||
|
||||
#include "signal.h"
|
||||
#include <sys/wait.h>
|
||||
#ifdef TIME
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
* Included Files:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user