summaryrefslogtreecommitdiff
path: root/usr.bin/sed
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sed')
-rw-r--r--usr.bin/sed/defs.h2
-rw-r--r--usr.bin/sed/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/defs.h b/usr.bin/sed/defs.h
index d2f7157..7bbf2f1 100644
--- a/usr.bin/sed/defs.h
+++ b/usr.bin/sed/defs.h
@@ -54,7 +54,7 @@ enum e_atype {
struct s_addr {
enum e_atype type; /* Address type */
union {
- u_long l; /* Line number */
+ unsigned long l; /* Line number */
regex_t *r; /* Regular expression */
} u;
};
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index 69def8b..7397f56 100644
--- a/usr.bin/sed/main.c
+++ b/usr.bin/sed/main.c
@@ -51,7 +51,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <bsd/stdlib.h>
-#include <string.h>
+#include <bsd/string.h>
#include <unistd.h>
#include "defs.h"