【问题标题】:include <time.h>,an error occurred at the start包含<time.h>,开始出现错误
【发布时间】:2016-05-04 05:25:16
【问题描述】:

我在default.vcl 中使用以下代码

C{#include <time.h>}C  

开始时发生错误。

Message from C-compiler:  
./vcl.TfBe17Rg.c:429:21: time.h: No such file or directory  
./vcl.TfBe17Rg.c:430:23: string.h: No such file or directory  
Running C-compiler failed, exit 1

【问题讨论】:

  • @BartłomiejSemańczyk 你有一些证据表明缺少一个时期吗?
  • @EJP,不抱歉,搞错了:(

标签: c varnish-vcl


【解决方案1】:
C{
#include <sys/time.h>
#include <stdio.h>
}C

尝试使用sys/time.h,它应该可以工作。

【讨论】:

    猜你喜欢
    • 2016-03-04
    • 2011-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多