summaryrefslogtreecommitdiff
path: root/ntpshmmon.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-08-09 18:27:56 -0700
committerGary E. Miller <gem@rellim.com>2016-08-09 18:27:56 -0700
commit1a940a8c8e75f98d1366f86ba6801ff10a14e480 (patch)
tree2305b3d04fcf4f60e94cea8ef847533940ed1097 /ntpshmmon.c
parent274520ede54b73b4c2628ce5f6fbeb3c2da6182e (diff)
downloadgpsd-1a940a8c8e75f98d1366f86ba6801ff10a14e480.tar.gz
Add missing include.
ntpshmmon.c:34:5: warning: implicit declaration of function 'memset' ntpshmmon.c:34:5: warning: incompatible implicit declaration of built-in function 'memset'
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r--ntpshmmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c
index ec51d277..8706f414 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -5,6 +5,7 @@
*
*/
#include <stdio.h>
+#include <string.h> /* for memset() */
#include <stdlib.h>
#include <getopt.h>
#include <limits.h>