summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/gspa/gspa/gsp_lex.c2
-rw-r--r--usr.sbin/gspa/gspa/gsp_out.c1
-rw-r--r--usr.sbin/gspa/gspa/gsp_sym.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/gspa/gspa/gsp_lex.c b/usr.sbin/gspa/gspa/gsp_lex.c
index 6327f281fdc..882c099b676 100644
--- a/usr.sbin/gspa/gspa/gsp_lex.c
+++ b/usr.sbin/gspa/gspa/gsp_lex.c
@@ -34,7 +34,7 @@
#include "y.tab.h"
#include <ctype.h>
#include <stdlib.h>
-/*#include <string.h>*/
+#include <string.h>
char *lineptr;
diff --git a/usr.sbin/gspa/gspa/gsp_out.c b/usr.sbin/gspa/gspa/gsp_out.c
index 4dcf7b39270..12e90c7747a 100644
--- a/usr.sbin/gspa/gspa/gsp_out.c
+++ b/usr.sbin/gspa/gspa/gsp_out.c
@@ -30,6 +30,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
+#include <string.h>
#include "gsp_ass.h"
u_int16_t codes[5];
diff --git a/usr.sbin/gspa/gspa/gsp_sym.c b/usr.sbin/gspa/gspa/gsp_sym.c
index 742348acb0e..74105f79721 100644
--- a/usr.sbin/gspa/gspa/gsp_sym.c
+++ b/usr.sbin/gspa/gspa/gsp_sym.c
@@ -29,6 +29,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#include <string.h>
#include "gsp_ass.h"
#define NHASH 64 /* must be power of 2 */