]> granicus.if.org Git - nethack/commitdiff
curses locale.h fix
authorPatR <rankin@nethack.org>
Fri, 3 Jun 2022 20:12:27 +0000 (13:12 -0700)
committerPatR <rankin@nethack.org>
Fri, 3 Jun 2022 20:12:27 +0000 (13:12 -0700)
sys/unix/Makefile.src
win/curses/cursmain.c

index 8d1b0bff2c3864ed98b72b1d42a5086f563d04d7..16a761f63b94dbed45fa4b77acb8a28528653985 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile.
-# NetHack 3.7  Makefile.src    $NHDT-Date: 1654286542 2022/06/03 20:02:22 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.144 $
+# NetHack 3.7  Makefile.src    $NHDT-Date: 1654287121 2022/06/03 20:12:01 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.145 $
 # Copyright (c) 2018 by Pasi Kallinen
 # NetHack may be freely redistributed.  See license for details.
 
@@ -847,8 +847,7 @@ $(TARGETPFX)topl.o: ../win/tty/topl.c $(HACK_H) ../include/tcap.h \
 $(TARGETPFX)wintty.o: ../win/tty/wintty.c $(HACK_H) ../include/dlb.h \
                ../include/tcap.h ../include/wintty.h
        $(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ ../win/tty/wintty.c
-$(TARGETPFX)cursmain.o: ../win/curses/cursmain.c $(HACK_H) \
-               ../include/wincurs.h ../include/locale.h
+$(TARGETPFX)cursmain.o: ../win/curses/cursmain.c $(HACK_H) ../include/wincurs.h
        $(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ ../win/curses/cursmain.c
 $(TARGETPFX)curswins.o: ../win/curses/curswins.c $(HACK_H) \
                ../include/wincurs.h ../win/curses/curswins.h
index 4f116ea51c86a63b7d714644db35e48d025f2482..56b7a23aefc0e0425bfb1c991dc32ebe99ecd5af 100644 (file)
@@ -8,7 +8,7 @@
 #include "color.h"
 #include "wincurs.h"
 #ifdef CURSES_UNICODE
-#include "locale.h"
+#include <locale.h>
 #endif
 
 /* define this if not linking with <foo>tty.o|.obj for some reason */