dtpad: fix implicit-function-declaration warnings

This commit is contained in:
Jon Trulson
2021-11-12 16:37:02 -07:00
parent 23b3b76c1d
commit 6e4b443309
5 changed files with 19 additions and 0 deletions

View File

@@ -56,9 +56,16 @@
**
**************************************************************************
**********************************<+>*************************************/
/* for asprintf */
#if defined(__linux__) || defined(CSRG_BASED)
# define _GNU_SOURCE
#endif
#include "dtpad.h"
#include <dirent.h>
#include <Dt/DtpadM.h>
#include <Dt/HourGlass.h>
#define TIMEOUT_FACTOR 1000