summaryrefslogtreecommitdiff
path: root/xcalc.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 22:49:21 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 22:49:21 -0700
commit1de8253f0ede02ec87d28b028de97da79adc12e2 (patch)
treee73452b10b6d53fa4b617165f560a3b93173df32 /xcalc.h
parent3d58c22c4c2729d52b5278c0e6350c0f9f44cfa8 (diff)
Replace sprintf & strcpy calls with snprintf & strlcpy
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xcalc.h')
-rw-r--r--xcalc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xcalc.h b/xcalc.h
index 855dc4a..bb6920d 100644
--- a/xcalc.h
+++ b/xcalc.h
@@ -37,6 +37,10 @@ from the X Consortium.
#ifndef _XCALC_H_
#define _XCALC_H_
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>