summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/com_err
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/com_err')
-rw-r--r--source4/heimdal/lib/com_err/compile_et.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/heimdal/lib/com_err/compile_et.c b/source4/heimdal/lib/com_err/compile_et.c
index a28e51f8da..11beaeba4b 100644
--- a/source4/heimdal/lib/com_err/compile_et.c
+++ b/source4/heimdal/lib/com_err/compile_et.c
@@ -32,6 +32,9 @@
*/
#undef ROKEN_RENAME
+
+#include "config.h"
+
#include "compile_et.h"
#include <getarg.h>
@@ -219,7 +222,7 @@ main(int argc, char **argv)
err(1, "%s", filename);
- p = strrchr(filename, '/');
+ p = strrchr(filename, rk_PATH_DELIM);
if(p)
p++;
else