Ticket #47813: patch-texk-xdvik-psgs.c.diff

File patch-texk-xdvik-psgs.c.diff, 535 bytes (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)
  • texk/xdvik/psgs.c

    Fix build on Tiger.
    Include string.h, not strings.h, because we don't need any of the obsolete
    functions in strings.h and xorg-xproto's X11/Xos.h redefines some of the
    obsolete functions (index and rindex), confusing Tiger's strings.h.
    old new  
    3737
    3838/* Condition for retrying a write */
    3939#include <errno.h>
    40 #include <strings.h>
     40#include <string.h>
    4141
    4242#include "kpathsea/c-pathmx.h"
    4343#include "dvi-init.h"