소스 검색

Avoid error/warning about implicit function declaration

Function xorgGlxCreateVendor() is defined in glx_extinit.h, if this header is
not included, we might get either error or warning. This header also need to
be included after scrninststr.h header as it defines some structures used
in glx_extinit.h

(cherry picked from commit 8c6c584377)
tags/v1.9.0
Jan Grulich 6 년 전
부모
커밋
423e04fced
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      unix/xserver/hw/vnc/xvnc.c

+ 3
- 0
unix/xserver/hw/vnc/xvnc.c 파일 보기

@@ -47,6 +47,9 @@ from the X Consortium.
#include <X11/Xproto.h>
#include <X11/Xos.h>
#include "scrnintstr.h"
#if XORG >= 120
#include "glx_extinit.h"
#endif
#include "servermd.h"
#include "fb.h"
#include "mi.h"

Loading…
취소
저장